ManagedDeploymentTester tester = new ManagedDeploymentTester()
{
public void testManagedDeployment() throws Exception
{
InitialContext ic = new InitialContext();
BeanHome home = (BeanHome) ic.lookup("DeployUnitTestCase-testEjb2xDeployment");
BeanRemote bean = home.create();
String entry1 = (String) bean.getEnvEntry("entry1");
assertEquals("entry1Value", entry1);
}
};
testDeployment(name, "ejb2x", tester);