103104105106107108109110111112113
context.getObjectStore().get(String.class)); } finally { context.deactivate(); } Assert.assertTrue( "Outer Context should still be active", context.isActive());
112113114115116117118119120121122
"Outer Context should still be active", context.isActive()); } finally { context.deactivate(); context.clearAll(); } } @Test public void shouldBeAbleToReadFromChildThread() throws Exception
134135136137138139140141142143144
143144145146147148149150151152
"Outer Context should still be active", context.isActive()); } finally { context.deactivate(); context.clearAll(); } } }