AssemblyMojo mojo = getMojo( "depSet-excludes-plugin-config.xml" );
MavenProject project = (MavenProject) getVariableValueFromObject( mojo, "executedProject" );
Set artifactSet = project.getArtifacts();
mojo.execute();
Map archiveMap = ArchiverManagerStub.archiverStub.getFiles();
Collection archivedFiles = archiveMap.keySet();
assertEquals( "Test number of files in archive", artifactSet.size(), archivedFiles.size() );