URL resource = SurefireArchiverUnitTest.class.getResource("/surefire-archiver-test2");
File reportsDir = new File(resource.toURI().getPath());
doReturn(reportsDir).when(this.mojoInfo).getConfigurationValue("reportsDirectory", File.class);
touchReportFiles(reportsDir);
FileSet fileSet = this.archiver.getFileSet(reportsDir);
Assert.assertEquals(2, fileSet.getDirectoryScanner().getIncludedFilesCount());
this.archiver.postExecute(buildProxy, null, this.mojoInfo, new NullBuildListener(), null);
fileSet = this.archiver.getFileSet(reportsDir);
Assert.assertEquals(0, fileSet.getDirectoryScanner().getIncludedFilesCount());
}