addDeployer(main, aliasMetaDataDeployer);
}
public void testAliasSuccessful() throws Exception
{
VFSDeployment context = createDeployment("/alias", "toplevel/my-beans.xml");
assertDeploy(context);
assertNotNull(controller.getInstalledContext("Test"));
VFSDeployment alias = createDeployment("/alias", "toplevel/aliases-beans.xml");
assertDeploy(alias);
assertNotNull("Missing Test bean.", controller.getInstalledContext("MyAlias"));
assertEquals(controller.getInstalledContext("MyAlias"), controller.getInstalledContext("Test"));
assertNotNull("Missing Injectee bean.", controller.getInstalledContext("Injectee"));