}
}
assertEquals(found, 3);
// Try the /connector/resourceadapter/resourceadapter-instance/workmanager
assertNull(raInstance.getWorkManager());
GBeanLocator workManager = new GBeanLocator();
raInstance.setWorkManager(workManager);
workManager.setGBeanLink("DefaultWorkManager");
// Try the /connector/resourceadapter/outbound-resourceadapter/connection-definition element
assertNotNull(adapter.getConnectionDefinition());
assertEquals(0, adapter.getConnectionDefinition().length);
ConnectionDefinition definition = new ConnectionDefinition();
adapter.setConnectionDefinition(new ConnectionDefinition[]{definition});