" component(B)\n" +
" } else { \n" +
" System.out.println('Invalid scope')\n " +
" } \n "+
"}\n";
NanoPicoContainer parent = new DefaultNanoPicoContainer(buildContainer(
new StringReader(script), null, new ParentAssemblyScope()));
// NanoPicoContainer parent = new DefaultNanoPicoContainer();
// parent.registerComponentImplementation(A.class);
assertNotNull(parent.getComponentInstanceOfType(A.class));
PicoContainer pico = buildContainer(new StringReader(script), parent, new SomeAssemblyScope());
assertNotNull(pico.getComponentInstanceOfType(B.class));
}