@Test(expected = IllegalArgumentException.class)
public void shouldNotAllowMultipleArchiveDeploymentsWithSameArchiveName()
{
DeploymentScenario scenario = new DeploymentScenario();
scenario.addDeployment(
new DeploymentDescription(DEFAULT_NAME, ShrinkWrap.create(JavaArchive.class, "test.jar"))
.setTarget(TargetDescription.DEFAULT));
scenario.addDeployment(
new DeploymentDescription("B", ShrinkWrap.create(JavaArchive.class, "test.jar"))
.setTarget(TargetDescription.DEFAULT));