//admin objects
DDBean[] adminObjectdds = resourceAdapterdd.getChildBean(resourceAdapterDConfigBean.getXpaths()[2]);
assertEquals(1, adminObjectdds.length);
AdminObjectDConfigBean adminObjectDConfigBean = (AdminObjectDConfigBean)resourceAdapterDConfigBean.getDConfigBean(adminObjectdds[0]);
assertNotNull(adminObjectDConfigBean);
AdminObjectInstance adminObjectInstance1 = new AdminObjectInstance();
adminObjectDConfigBean.setAdminObjectInstance(new AdminObjectInstance[] {adminObjectInstance1});
ConfigPropertySettings adminObjectSetting1 = adminObjectInstance1.getConfigProperty()[0];
adminObjectSetting1.setConfigPropertyValue("TestAOValue1");
//add a second admin object in first position
AdminObjectInstance adminObjectInstance2 = new AdminObjectInstance();
adminObjectDConfigBean.setAdminObjectInstance(new AdminObjectInstance[] {adminObjectInstance2, adminObjectInstance1});
ConfigPropertySettings adminObjectSetting2 = adminObjectInstance2.getConfigProperty()[0];
adminObjectSetting2.setConfigPropertyValue("TestAOValue2");
//outbound
DDBean[] connectionDefinitiondds = resourceAdapterdd.getChildBean(resourceAdapterDConfigBean.getXpaths()[1]);
assertEquals(2, connectionDefinitiondds.length);