OtherSwappable os = (OtherSwappable) pico.getComponentInstance("os");
OtherSwappable os2 = new OtherSwappableImpl();
assertEquals("TADA", os.hotswap(os2));
Swappable os_ = (Swappable) os;
assertEquals("TADA", os_.hotswap(os2));
}
protected ComponentAdapterFactory createComponentAdapterFactory() {
return cachingComponentAdapterFactory;
}