/**
* Tests adding license headers.
*/
public void testIt3() throws Exception {
final RatCheckMojo mojo = (RatCheckMojo) newRatMojo( "it3", "check", true );
setVariableValueToObject( mojo, "addLicenseHeaders", "true" );
setVariableValueToObject( mojo, "numUnapprovedLicenses", Integer.valueOf(1));
mojo.execute();
final File ratTxtFile = getRatTxtFile( mojo );
checkResult( ratTxtFile, 1, 1 );
final File baseDir = new File( getBasedir() );
final File sourcesDir = new File( new File( baseDir, "target/it-source" ), "it3" );