assertNull(factory.getUninstallCallbacks());
}
public void testBeanFactoryWithInstallCallbacks() throws Exception
{
GenericBeanFactoryMetaData factory = unmarshalBeanFactory();
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.getDepends());
assertNull(factory.getDemands());
assertNull(factory.getSupplies());
assertNull(factory.getInstalls());
assertNull(factory.getUninstalls());
List<String> expected = new ArrayList<String>();
expected.add("Install1");
expected.add("Install2");
expected.add("Install3");
assertCallbacks(expected, factory.getInstallCallbacks());
assertNull(factory.getUninstallCallbacks());
}