Map<String, AtomicComponent> contexts = MockFactory.createWiredComponents("source", SourceImpl.class,
moduleScope, members, "target", Target.class, TargetImpl.class, sessionScope);
moduleScope.onEvent(new CompositeStart(this, null));
Object session1 = new Object();
ctx.setIdentifier(HttpSessionScopeContainer.HTTP_IDENTIFIER, session1);
sessionScope.onEvent(new HttpSessionStart(this, session1));
AtomicComponent sourceComponent = contexts.get("source");
AtomicComponent targetComponent = contexts.get("target");
Source source = (Source) sourceComponent.getServiceInstance();
Target target = (Target) targetComponent.getServiceInstance();
assertNull(source.getTarget().getString());