}
public void testMarkerFileException()
{
// this stub wraps the file with an object to throw exceptions
StubSourcesFileMarkerHandler handler = new StubSourcesFileMarkerHandler( artifacts.get( 0 ),
this.outputFolder, true );
try
{
handler.setMarker();
fail( "Expected an Exception here" );
}
catch ( MojoExecutionException e )
{
}