project.setArtifact( artifactMock.getArtifact() );
final Set<MavenProject> projects = Collections.singleton( project );
final ModuleSources sources = new ModuleSources();
final FileSet fs = new FileSet();
fs.setDirectory( "/src" );
fs.setDirectoryMode( "777" );
fs.setFileMode( "777" );
sources.addFileSet( fs );
macTask.expectGetArchiveBaseDirectory();
final int mode = TypeConversionUtils.modeToInt( "777", new ConsoleLogger( Logger.LEVEL_DEBUG, "test" ) );
final int[] modes = { -1, -1, mode, mode };