### Question:
DefaultAssemblyArchiver extends AbstractLogEnabled implements AssemblyArchiver, Contextualizable { protected Archiver createWarArchiver() throws NoSuchArchiverException { final WarArchiver warArchiver = (WarArchiver) archiverManager.getArchiver( "war" ); warArchiver.setIgnoreWebxml( false ); return warArchiver; } @SuppressWarnings( "UnusedDeclaration" )  DefaultAssemblyArchiver(); protected  DefaultAssemblyArchiver( final ArchiverManager archiverManager,
                                       final List<AssemblyArchiverPhase> assemblyPhases ); @Override File createArchive( final Assembly assembly, final String fullName, final String format,
                               final AssemblerConfigurationSource configSource, boolean recompressZippedFiles,
                               String mergeManifestMode ); @Override void contextualize( final Context context );  }### Answer:
@Test public void testCreateWarArchiver_ShouldDisableIgnoreWebxmlOption() throws NoSuchArchiverException { final EasyMockSupport mm = new EasyMockSupport(); final TestWarArchiver twArchiver = new TestWarArchiver(); final MockAndControlForAssemblyArchiver macArchiverManager = new MockAndControlForAssemblyArchiver( mm ); macArchiverManager.expectGetArchiver( "war", twArchiver ); mm.replayAll(); final DefaultAssemblyArchiver subject = createSubject( macArchiverManager, new ArrayList<AssemblyArchiverPhase>(), null ); subject.createWarArchiver(); assertFalse( twArchiver.ignoreWebxml ); }