### Question:
DatasetManifest { public void setFile(String file) { this.file = notEmpty(file, "file"); } DatasetManifest(String dataSet);  DatasetManifest(final String dataSet, final InputStream source); @JsonCreator  DatasetManifest(@JsonProperty("dataSet") String dataSet, @JsonProperty("file") String file,
                           @JsonProperty("parts") List<Part> parts); String getDataSet(); List<Part> getParts(); void setParts(List<Part> parts); String getFile(); void setFile(String file); void setUploadMode(final UploadMode uploadMode); void setMapping(final String columnName, final String populates); @JsonIgnore InputStream getSource(); @JsonIgnore void setSource(final InputStream source); @Override String toString(); static final String URI; }### Answer:
@Test(expectedExceptions = IllegalArgumentException.class) public void shouldFailOnSetFileNull() { final DatasetManifest manifest = new DatasetManifest("dataset.name"); manifest.setFile(null); }