public void testLoadGeronimoDeploymentDescriptor15() throws Exception {
URL srcXml = classLoader.getResource("connector_1_5/geronimo-ra.xml");
// File geronimoDD = new File(basedir, "src/test-data/connector_1_5/geronimo-ra.xml");
// assertTrue(geronimoDD.exists());
XmlObject plan = XmlBeansUtil.parse(srcXml);
GerConnectorDocument connectorDocument = (GerConnectorDocument) plan.changeType(GerConnectorDocument.type);
GerConnectorType connector = (GerConnectorType) SchemaConversionUtils.fixGeronimoSchema(connectorDocument, CONNECTOR_QNAME, GerConnectorType.type);
assertEquals(1, connector.getResourceadapterArray().length);
}
public void testResourceAdapterNameUniqueness() throws Exception {