Object instance = getManager().getReference(bean, SpecializedInjector.class, getManager().createCreationalContext(bean));
Assert.assertTrue(instance instanceof SpecializedInjector);
SpecializedInjector injector = (SpecializedInjector)instance;
ISomeLogger logger = injector.logger();
Assert.assertTrue(logger instanceof MockSpecializedLogger);
logger.printError("Hello World");