### Question:
FileInput implements JobInput { public String getFilename() { return this.filename; } @JsonCreator  FileInput(@JsonProperty(value = "filename") String filename,
                     @JsonProperty(value = "data", required = true) String b64data);  FileInput(String filename,
                     byte[] b64data); byte[] getData(); String getFilename();  }### Answer:
@Test public void testDefaultsNameWhenNameIsMissing() { final FileInput fi = TestHelpers.readJSONFixture( "fixtures/jobinputs/file/valid-but-missing-name.json", FileInput.class); assertThat(fi.getFilename()).isEqualTo("unnamed"); }