ContextFactory.initRequestContext(null);
Assert.assertEquals(2, comps.size());
TypeLiteralComponent userComponent = (TypeLiteralComponent) ManagerImpl.getManager().getContext(RequestScoped.class).get(comps.get(0), new CreationalContextImpl());
InjectedTypeLiteralComponent tc = (InjectedTypeLiteralComponent) ManagerImpl.getManager().getContext(RequestScoped.class).get(comps.get(1), new CreationalContextImpl());
Assert.assertNotNull(tc.getComponent());
Assert.assertNotNull(userComponent);
Assert.assertTrue(tc.getComponent() instanceof TypeLiteralComponent);
Assert.assertEquals("GURKAN", TypeLiteralComponent.STR);
ContextFactory.destroyRequestContext(null);
}