public void testStatelessToModule() throws Exception {
WorkContext ctx = new WorkContextImpl();
ScopeContainer statelessScope = new StatelessScopeContainer(ctx);
statelessScope.start();
ScopeContainer moduleScope = new ModuleScopeContainer(ctx);
moduleScope.start();
Map<String, AtomicComponent> contexts = MockFactory.createWiredComponents("source", SourceImpl.class,
statelessScope, members, "target", Target.class, TargetImpl.class, moduleScope);
moduleScope.onEvent(new CompositeStart(this, null));
AtomicComponent sourceComponent = contexts.get("source");