assertEquals("value", child.getComponentInstance("key"));
}
public void testMakeChildContainer(){
AspectablePicoContainerFactory aspectableContainerFactory = new DynaopAspectablePicoContainerFactory();
AspectablePicoContainer parent = aspectableContainerFactory.createContainer();
parent.registerComponentImplementation("t1", SimpleTouchable.class);
AspectablePicoContainer child = aspectableContainerFactory.makeChildContainer(parent);
Object t1 = child.getParent().getComponentInstance("t1");
assertNotNull(t1);
assertTrue(t1 instanceof SimpleTouchable);
}