assertNull(bean.getUninstallCallbacks());
}
public void testBeanWithAnnotations() throws Exception
{
AbstractBeanMetaData bean = unmarshalBean();
assertNull(bean.getName());
assertEquals("Dummy", bean.getBean());
assertNull(bean.getMode());
HashSet<String> expected = new HashSet<String>();
expected.add("@" + Annotation1.class.getName());
expected.add("@" + Annotation2.class.getName());
expected.add("@" + Annotation3.class.getName());
assertAnnotations(expected, bean.getAnnotations());
assertNull(bean.getClassLoader());
assertNull(bean.getConstructor());
assertNull(bean.getProperties());
assertNull(bean.getCreate());
assertNull(bean.getStart());
assertNull(bean.getStop());
assertNull(bean.getDestroy());
assertNull(bean.getDemands());
assertNull(bean.getSupplies());
assertNull(bean.getInstalls());
assertNull(bean.getUninstalls());
assertNull(bean.getInstallCallbacks());
assertNull(bean.getUninstallCallbacks());
}