assertEquals("SimpleDeployment", deployment.getName());
assertNull(deployment.getClassLoader());
List<BeanMetaDataFactory> beanFactories = deployment.getBeanFactories();
assertNotNull(beanFactories);
assertEquals(3, beanFactories.size());
BeanMetaDataFactory factory = beanFactories.get(0);
assertEquals(TestBeanMetaDataFactory.class.getName(), factory.getClass().getName());
factory = beanFactories.get(1);
assertEquals(TestBeanMetaDataFactory1.class.getName(), factory.getClass().getName());
factory = beanFactories.get(2);
assertEquals(TestBeanMetaDataFactory2.class.getName(), factory.getClass().getName());
List<BeanMetaData> beans = deployment.getBeans();
assertNotNull(beans);
assertEquals(6, beans.size());
BeanMetaData bean = beans.get(0);
assertNotNull(bean);