JavaModuleMetaData javaMD = (JavaModuleMetaData)java.getValue();
assertEquals("client0.jar", javaMD.getClientJar());
ModuleMetaData ejb0 = modules.get(2);
assertEquals("ejb0", ejb0.getId());
assertEquals("META-INF/alt-ejb-jar.xml", ejb0.getAlternativeDD());
EjbModuleMetaData ejb0MD = (EjbModuleMetaData)ejb0.getValue();
assertEquals("ejb-jar0.jar", ejb0MD.getEjbJar());
ModuleMetaData ejb1 = modules.get(3);
assertEquals("ejb1", ejb1.getId());
assertEquals("META-INF/alt-ejb-jar.xml", ejb1.getAlternativeDD());
EjbModuleMetaData ejb1MD = (EjbModuleMetaData)ejb1.getValue();
assertEquals("ejb-jar1.jar", ejb1MD.getEjbJar());
ModuleMetaData web0 = modules.get(4);
assertEquals("web0", web0.getId());
assertEquals("WEB-INF/alt-web.xml", web0.getAlternativeDD());
WebModuleMetaData web0MD = (WebModuleMetaData) web0.getValue();
assertEquals("/web0", web0MD.getContextRoot());