public void shouldDeployAllManagedDeployments() throws Exception
{
registry.create(container1, serviceLoader).setState(State.STARTED);
registry.create(container2, serviceLoader).setState(State.STARTED);
fire(new DeployManagedDeployments());
assertEventFired(DeployDeployment.class, 3);
assertEventFiredInContext(DeployDeployment.class, ContainerContext.class);
assertEventFiredInContext(DeployDeployment.class, DeploymentContext.class);