List<ExtraJaxbClassModel> extraJaxbClassList = extraJaxbClasses.getExtraJaxbClasses();
Assert.assertEquals(2, extraJaxbClassList.size());
Assert.assertEquals(Object.class, extraJaxbClassList.get(0).getClazz(loader));
Assert.assertEquals(String.class, extraJaxbClassList.get(1).getClazz(loader));
if (REMOTEJMS_XML.equals(xml)) {
RemoteJmsModel remoteJms = (RemoteJmsModel)remote;
Assert.assertEquals("remotehost", remoteJms.getHostName());
Assert.assertEquals(4447, remoteJms.getRemotingPort().intValue());
Assert.assertEquals(5455, remoteJms.getMessagingPort().intValue());
Assert.assertEquals(true, remoteJms.isUseSsl());
Assert.assertEquals("ksp", remoteJms.getKeystorePassword());
Assert.assertEquals("/ksl", remoteJms.getKeystoreLocation());
Assert.assertEquals("tsp", remoteJms.getTruststorePassword());
Assert.assertEquals("/tsl", remoteJms.getTruststoreLocation());
} else if (REMOTEREST_XML.equals(xml)) {
RemoteRestModel remoteRest = (RemoteRestModel)remote;
Assert.assertEquals("http://localhost:8080/kie-wb/", remoteRest.getUrl());
Assert.assertEquals(true, remoteRest.isUseFormBasedAuth());
}