final Assembly assembly = new Assembly();
assembly.setId( "test" );
assembly.setIncludeBaseDirectory( false );
final FileSet fs = new FileSet();
fs.setOutputDirectory( "/out" );
fs.setDirectory( "/input" );
fs.setFileMode( "777" );
fs.setDirectoryMode( "777" );
assembly.addFileSet( fs );
final MockAndControlForLogger macLogger = new MockAndControlForLogger();
final MockAndControlForAddFileSetsTask macTask =