@Test(expected = IllegalArgumentException.class)
public void shouldNotAllowMultipleDescriptorDeploymentsWithSameName()
{
DeploymentScenario scenario = new DeploymentScenario();
scenario.addDeployment(
new DeploymentDescription(DEFAULT_NAME, Descriptors.create(BeansDescriptor.class))
.setTarget(TargetDescription.DEFAULT));
scenario.addDeployment(
new DeploymentDescription(DEFAULT_NAME, Descriptors.create(BeansDescriptor.class))
.setTarget(TargetDescription.DEFAULT));