public void testLocalCAsAreNotAccessible() throws Exception
{
ConstructorInjectionComponentAdapter ca = new ConstructorInjectionComponentAdapter(Service.class, DecoratedService.class);
ComponentAdapter[] localCAs = new ComponentAdapter[] {new ConstructorInjectionComponentAdapter(DefaultService.class, DefaultService.class)};
picoContainer_.registerComponent(new LocalParameterComponentAdapter(ca, localCAs));
assertNull(picoContainer_.getComponentInstanceOfType(DefaultService.class));
assertNull(picoContainer_.getComponentAdapterOfType(DefaultService.class));
}