@Test public void testAttributes(){ FileOptions fileOptions = new FileOptions.FileOptionsBuilder() .with(fo -> { fo.name = "myJsonTest.json"; fo.type = FileType.JSON; fo.attributes = "{key1:val1, key2:val2}"; }) .build(); Assert.assertEquals(2, fileOptions.getAttributes().size()); }
public Map<String, String> getAttributes() { return attributes; }
FileOptions { public Map<String, String> getAttributes() { return attributes; } }
FileOptions { public Map<String, String> getAttributes() { return attributes; } private  FileOptions(); }
FileOptions { public Map<String, String> getAttributes() { return attributes; } private  FileOptions(); FileType getType(); String getName(); Map<String, String> getAttributes(); }
FileOptions { public Map<String, String> getAttributes() { return attributes; } private  FileOptions(); FileType getType(); String getName(); Map<String, String> getAttributes();  }