assertEquals("Bean2", bean.getBean());
}
public void testDeploymentWithMixed() throws Exception
{
AbstractKernelDeployment deployment = unmarshalDeployment();
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());