5758596061626364656667
card.placeOrder(); Assert.assertTrue(ShoppingCard.CALLED); card.placeOrder2(); Assert.assertFalse(ShoppingCard.CALLED); ContextFactory.destroySessionContext(new MockHttpSession()); }
6263646566676869707172
card.placeOrder(); Assert.assertTrue(ShoppingCard.getCALLED()); card.placeOrder2(); Assert.assertFalse(ShoppingCard.getCALLED()); ContextFactory.destroySessionContext(null); }
6162636465666768697071
card.placeOrder(); Assert.assertTrue(ShoppingCard.getCALLED()); card.placeOrder2(); Assert.assertFalse(ShoppingCard.getCALLED()); ContextFactory.destroySessionContext(new MockHttpSession()); }
card.placeOrder(); Assert.assertTrue(ShoppingCard.getCALLED()); card.placeOrder2(); Assert.assertFalse(ShoppingCard.getCALLED()); webBeansContext.getContextFactory().destroySessionContext(null); }
6364656667686970717273