### Question:
FileOptions { public String getName() { return name; } private  FileOptions(); FileType getType(); String getName(); Map<String, String> getAttributes();  }### Answer:
@Test(expected = NullPointerException.class) public void testNullType(){ FileOptions fileOptions = new FileOptions.FileOptionsBuilder() .with(fo -> { fo.name = "myJsonTest.json"; fo.attributes = "{key1:val1, key2:val2}"; }) .build(); Assert.assertEquals("myJsonTest.json", fileOptions.getName()); }