assertEquals("foo", target2.getString());
assertEquals("foo", source2.getTarget().getString());
source2.getTarget().setString("bar");
assertEquals("bar", target2.getString());
assertEquals("bar", source2.getTarget().getString());
requestScope.onEvent(new RequestEnd(this));
}
}, null);
executor.execute(future);
future.get();
assertEquals("bar", target.getString());
requestScope.onEvent(new RequestEnd(this));
requestScope.stop();
ctx.clearIdentifier(HttpSessionScopeContainer.HTTP_IDENTIFIER);
sessionScope.onEvent(new HttpSessionEnd(this, session1));
sessionScope.stop();
}