public void testToModuleScope() throws Exception {
ModuleScopeContainer scope = new ModuleScopeContainer(workContext);
scope.start();
scope.onEvent(new CompositeStart(this, null));
final OutboundWire wire = getWire(scope);
Target service = (Target) wireService.createProxy(wire);
Target target = (Target) wireService.createProxy(wire);
assertNotNull(service);
service.setString("foo");
assertEquals("foo", service.getString());