5657585960616263646566
Assert.assertEquals( "Verify that we can get objects from a active context", new Boolean(true), store.get(Boolean.class)); context.deactivate(); Assert.assertFalse(context.isActive()); try { context.getObjectStore();
7778798081828384858687
new Boolean(true), store.get(Boolean.class)); } finally { context.deactivate(); context.destroy(); } }
156157158159160161162163164165166
{ throw new RuntimeException(e); } finally { context.deactivate(); context.destroy(); } }; }; setup.setUncaughtExceptionHandler(catcher);
200201202203204205206207208209210
5455565758596061626364
7576777879808182838485
109110111112113114115116117118119
Assert.fail("Thread never called?"); } } finally { context.deactivate(); context.destroy(); } } @Test