public void testInstanceIsBorged() {
final MutablePicoContainer mpc = new DefaultPicoContainer();
final ComponentAdapter componentAdapter = new CachingComponentAdapter(new ConstructorInjectionComponentAdapter(
CompatibleTouchable.class, CompatibleTouchable.class));
mpc.registerComponent(new AssimilatingComponentAdapter(Touchable.class, componentAdapter));
final CompatibleTouchable compatibleTouchable = (CompatibleTouchable) componentAdapter
.getComponentInstance(mpc);
final Touchable touchable = (Touchable) mpc.getComponentInstanceOfType(Touchable.class);
assertFalse(compatibleTouchable.wasTouched());
touchable.touch();
assertTrue(compatibleTouchable.wasTouched());
assertTrue(Proxy.isProxyClass(touchable.getClass()));
}