public void testWarInEars() throws Exception
{
EnterpriseArchive ear1 = ShrinkWrap.create(EnterpriseArchive.class, "warinear1.ear");
WebArchive war1 = createWar(true);
ear1.addModule(war1);
MockArchiveManifest.addManifest(ear1);
/*DeploymentUnit unit = */assertDeploy(ear1);
//Class<?> servletWebBeanClass = getClass(ServletWebBean.class, unit.getChildren().iterator().next());
//Deployment deployment1 = initializeDeploymentBean(unit));
EnterpriseArchive ear2 = ShrinkWrap.create(EnterpriseArchive.class, "warinear2.ear");
WebArchive war2 = createWar(WAR_NAME, true, NotWBJsfBean.class);
ear2.addModule(war2);
MockArchiveManifest.addManifest(ear2);
/*unit = */assertDeploy(ear2);
// assertion deleted as loadBDA implementation does not check for unreachable classes anymore