fire(createEvent(DeploymentWithDefaults.class));
CallMap spi = getManager().resolve(CallMap.class);
Assert.assertTrue(spi.wasCalled(AuxiliaryArchiveAppender.class));
DeploymentScenario scenario = getManager().resolve(DeploymentScenario.class);
Assert.assertEquals(1, scenario.deployments().size());
ArgumentCaptor<TestDeployment> captor = ArgumentCaptor.forClass(TestDeployment.class);
verify(packager).generateDeployment(captor.capture(), Mockito.any(Collection.class));
Assert.assertEquals(0, captor.getValue().getAuxiliaryArchives().size());