*/
public class IntraCompositeWireTestCase extends TestCase {
public void testModuleToModuleScope() throws Exception {
SystemCompositeContext context = createContext();
context.start();
context.registerModelObject(MockFactory.createSystemModuleWithWiredComponents("system.module",Scope.MODULE, Scope.MODULE));
context.publish(new ModuleStart(this));
Source source = (Source) ((AtomicContext) context.getContext("source")).getTargetInstance();
Assert.assertNotNull(source);
Target targetRef = source.getTarget();