### Question:
Wro4jMojo extends AbstractWro4jMojo { void setDestinationFolder(final File destinationFolder) { this.destinationFolder = destinationFolder; }  void setBuildFinalName(final File buildFinalName);  }### Answer:
@Test(expected = MojoExecutionException.class) public void testNoDestinationFolderSet() throws Exception { victim.setDestinationFolder(null); victim.execute(); }