pico.registerComponentInstance("Touchable1", Touchable1);
pico.registerComponentInstance("Touchable2", Touchable2);
pico.registerComponentImplementation("fred1", DependsOnTouchable.class, new Parameter[]{new ComponentParameter("Touchable1")});
pico.registerComponentImplementation("fred2", DependsOnTouchable.class, new Parameter[]{new ComponentParameter("Touchable2")});
DependsOnTouchable fred1 = (DependsOnTouchable) pico.getComponentInstance("fred1");
DependsOnTouchable fred2 = (DependsOnTouchable) pico.getComponentInstance("fred2");
assertFalse(fred1 == fred2);
assertSame(Touchable1, fred1.getTouchable());
assertSame(Touchable2, fred2.getTouchable());
}