system.registerModelObject(target);
Component source = MockFactory.createSystemComponent("source", Source.class, AutowireSourceImpl.class, Scope.MODULE);
system1aComponent.getImplementation().getComponents().add(source);
system.registerModelObject(system1Component);
system.publish(new ModuleStart(this));
return runtime;
}
private ModuleComponent createAppModuleComponent(String name) throws ConfigurationLoadException {
AssemblyContext assemblyContext = new AssemblyContextImpl(systemFactory, null, null);