Assert.assertNotNull(source);
GenericComponent target = (GenericComponent)testCtx.getContext("target").getInstance(null);
Assert.assertNotNull(target);
source.getGenericComponent().setString("foo");
Assert.assertEquals("foo",target.getString());
testCtx.publish(new RequestEnd(this,new Object()));
//second request for session
Object id2 = new Object();
testCtx.publish(new RequestStart(this,id2));
testCtx.publish(new HttpSessionBound(this,session));