assertNull(factory.getUninstallCallbacks());
}
public void testBeanFactoryWithProperties() throws Exception
{
GenericBeanFactoryMetaData factory = unmarshalBeanFactory("BeanFactoryWithProperties.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());
HashSet<String> expected = new HashSet<String>();
expected.add("Property1");
expected.add("Property2");
expected.add("Property3");
assertProperties(expected, factory.getProperties());
assertNull(factory.getCreate());
assertNull(factory.getStart());
assertNull(factory.getDemands());
assertNull(factory.getSupplies());
assertNull(factory.getInstalls());
assertNull(factory.getUninstalls());
assertNull(factory.getInstallCallbacks());
assertNull(factory.getUninstallCallbacks());
}