{
bind(ApplicationScoped.class, DeploymentScenario.class, scenario);
}
Mockito.when(registry.getContainer(
new TargetDescription("X"))).thenReturn(new ContainerImpl("X", deployableContainer, new ContainerDefImpl("X")));
Mockito.when(registry.getContainer(
new TargetDescription("Z"))).thenReturn(new ContainerImpl("Z", deployableContainer, new ContainerDefImpl("Z")));
Deployment deploymentZ = new Deployment(new DeploymentDescription("Z", ShrinkWrap.create(JavaArchive.class))
.setTarget(new TargetDescription("Z")));
Deployment deploymentX = new Deployment(new DeploymentDescription("X", ShrinkWrap.create(JavaArchive.class))
.setTarget(new TargetDescription("X")));