}
}
public void testAppClient5Everything() throws Exception
{
ApplicationClientMetaData appClientMetaData = unmarshal("ApplicationClient5Everything_testEverything.xml", ApplicationClientMetaData.class, null);
new ApplicationClient5EverythingUnitTestCase("appClient").assertEverything(appClientMetaData, Mode.SPEC);
JBossClientMetaData rawJBossMetaData = unmarshal("JBossClient5Everything_testEverything.xml", JBossClientMetaData.class, null);
new JBossClient5EverythingUnitTestCase("jbossClient").assertEverything(rawJBossMetaData);
JBossClientMetaData jbossClientMetaData = new JBossClientMetaData();
jbossClientMetaData.merge(rawJBossMetaData, appClientMetaData, true);
// TODO: should this work?
assertDescriptionGroup("application-client", appClientMetaData.getDescriptionGroup());
assertRemoteEnvironment("appClient", jbossClientMetaData, true, Mode.JBOSS);
assertEquals("org.jboss.test.metadata.client.AppClientCallbackHandler", jbossClientMetaData.getCallbackHandler());
assertMessageDestinations5("appClientMessageDestination", 2, jbossClientMetaData.getMessageDestinations(), true);
}