DependencyTestUtils.removeDirectory( testDir );
assertFalse( testDir.exists() );
stubFactory = new DependencyArtifactStubFactory( this.testDir, false );
Artifact artifact = stubFactory.createArtifact( "test", "test", "1" );
ArtifactItem artifactItem = stubFactory.getArtifactItem( artifact );
artifactItems.add( stubFactory.getArtifactItem( stubFactory.createArtifact( "test", "test", "1" ) ) );
artifact = stubFactory.createArtifact( "test2", "test2", "2" );
artifactItem = new ArtifactItem( artifact );
artifactItem.setIncludes( "**/*.xml" );
artifactItems.add( artifactItem );
artifact = stubFactory.createArtifact( "test3", "test3", "3" );
artifactItem = new ArtifactItem( artifact );
artifactItem.setExcludes( "**/*.class" );
artifactItems.add( artifactItem );
artifact = stubFactory.createArtifact( "test4", "test4", "4" );
artifactItem = new ArtifactItem( artifact );
artifactItem.setIncludes( "**/*.xml" );
artifactItem.setExcludes( "**/*.class" );
artifactItems.add( artifactItem );
outputFolder = new File( "target/markers/" );
DependencyTestUtils.removeDirectory( this.outputFolder );
assertFalse( outputFolder.exists() );