assertEquals("SimpleDeployment", deployment.getName());
assertNull(deployment.getClassLoader());
List<?> beans = deployment.getBeans();
assertNotNull(beans);
assertEquals(8, beans.size());
BeanMetaData bean = (BeanMetaData) beans.get(0);
assertNotNull(bean);
assertEquals("Bean1", bean.getName());
assertEquals(Object.class.getName(), bean.getBean());
bean = (BeanMetaData) beans.get(1);
assertNotNull(bean);
assertEquals("Bean2", bean.getName());
assertEquals("GenericBeanFactory", bean.getBean());
bean = (BeanMetaData) beans.get(2);
assertNotNull(bean);
assertEquals("Bean1", bean.getBean());
bean = (BeanMetaData) beans.get(3);
assertNotNull(bean);
assertEquals("Bean2", bean.getBean());
bean = (BeanMetaData) beans.get(4);
assertNotNull(bean);
assertEquals("Bean3", bean.getName());
assertEquals(Object.class.getName(), bean.getBean());
bean = (BeanMetaData) beans.get(5);
assertNotNull(bean);
assertEquals("Bean4", bean.getName());
assertEquals("GenericBeanFactory", bean.getBean());
bean = (BeanMetaData) beans.get(6);
assertNotNull(bean);
assertEquals("Bean3", bean.getBean());
bean = (BeanMetaData) beans.get(7);
assertNotNull(bean);
assertEquals("Bean4", bean.getBean());
}