46474849505152535455
} @Test public void testCreation() throws Exception { Bank21Home home = lookup("BankBean21/localHome", Bank21Home.class); Bank21 bean = home.create(); String actual = bean.getActivated(); assertEquals("_CREATED", actual); }
55565758596061626364
} @Test public void testInjection() throws Exception { Bank21Home home = lookup("BankBean21/localHome", Bank21Home.class); Bank21 bean = home.create(); boolean injected = bean.hasSessionContext(); assertTrue(injected); }