assertNull(factory.getUninstallCallbacks());
}
public void testBeanFactoryWithUninstalls() throws Exception
{
GenericBeanFactoryMetaData factory = unmarshalBeanFactory("BeanFactoryWithUninstalls.xml");
assertNull(factory.getName());
assertEquals("Dummy", factory.getBean());
assertNull(factory.getMode());
assertNull(factory.getFactoryClass());
assertNull(factory.getAccessMode());
assertNull(factory.getAnnotations());
assertNull(factory.getClassLoader());
assertNull(factory.getConstructor());
assertNull(factory.getProperties());
assertNull(factory.getCreate());
assertNull(factory.getStart());
assertNull(factory.getDemands());
assertNull(factory.getSupplies());
assertNull(factory.getInstalls());
ArrayList<String> expected = new ArrayList<String>();
expected.add("Uninstall1");
expected.add("Uninstall2");
expected.add("Uninstall3");
assertInstalls(expected, factory.getUninstalls());
assertNull(factory.getInstallCallbacks());
assertNull(factory.getUninstallCallbacks());
}