public void shouldUnDeployAllManagedDeployments() throws Exception
{
registry.create(container1, serviceLoader);
registry.create(container2, serviceLoader);
fire(new UnDeployManagedDeployments());
assertEventFired(UnDeployDeployment.class, 2);
assertEventFiredInContext(UnDeployDeployment.class, ContainerContext.class);
assertEventFiredInContext(UnDeployDeployment.class, DeploymentContext.class);