public void testAnnotatedBeans() throws Exception
{
Deployment context = createSimpleDeployment("KernelDeployerTest");
AbstractKernelDeployment deployment = new AbstractKernelDeployment();
deployment.setName("KernelDeployerTest");
BeanMetaDataFactory md1 = getConstructorTester();
BeanMetaDataFactory md2 = getInjectionTester();
BeanMetaDataFactory md3 = getStartTester();
BeanMetaDataFactory md4 = getAliasTester();
deployment.setBeanFactories(Arrays.asList(md1, md2, md3, md4));
MutableAttachments attachments = (MutableAttachments) context.getPredeterminedManagedObjects();
attachments.addAttachment("KernelDeployerTest", deployment);
assertDeploy(context);
try