expect( configSource.getJarArchiveConfiguration()).andReturn( null ).anyTimes();
expect( configSource.getWorkingDirectory()).andReturn( new File( "." ) ).anyTimes();
expect( configSource.isUpdateOnly()).andReturn( false ).anyTimes();
expect( configSource.isIgnorePermissions()).andReturn( true ).anyTimes();
mm.replayAll();
final DefaultAssemblyArchiver subject =
createSubject( macArchiverManager, new ArrayList<AssemblyArchiverPhase>(), null );
subject.createArchiver( "war", false, null, configSource, null, false );