Object object = getContext(ApplicationScoped.class).get(comps.get(2), new CreationalContextImpl());
Assert.assertTrue(object instanceof Producer1ConsumerComponent);
Producer1ConsumerComponent single = (Producer1ConsumerComponent) object;
IService service = single.getService();
Assert.assertNotNull(service);
Assert.assertEquals(service, obj);
ContextFactory.destroyApplicationContext(null);