### Question:
FileDownloader { public void setMimeContentType(String mimeContentType) { Validate.notBlank(mimeContentType, "mimeContentType must be neither null nor blank"); this.mimeContentType = mimeContentType; }  void setMimeContentType(String mimeContentType); void setContentFileName(String contentFileName);  }### Answer:
@Test(expectedExceptions = NullPointerException.class) public void doesntAllowSetNullMimeContentType() { sut.setMimeContentType(null); }
@Test(expectedExceptions = IllegalArgumentException.class) public void doesntAllowSetEmptyMimeContentType() { sut.setMimeContentType(""); }