@Test(expected = UnsupportedOperationException.class)
public void shouldThrowExceptionOnEnterpriseArchiveWithMultipleMarkedWebArchives() throws Exception
{
new ServletProtocolDeploymentPackager().generateDeployment(
new TestDeployment(
ShrinkWrap.create(EnterpriseArchive.class, "applicationArchive.ear")
.addAsModule(Testable.archiveToTest(ShrinkWrap.create(WebArchive.class)))
.addAsModule(Testable.archiveToTest(ShrinkWrap.create(WebArchive.class))),
createAuxiliaryArchives()),
processors());