WebBeansContext.getInstance().getContextFactory().initRequestContext(null);
/*
* DO NOT CALL getInstance FOR component3! IF_EXISTS NEEDS TO FAIL FOR THAT OBJECT.
*/
ComponentWithObserves4 instance = getManager().getInstance(component4);
ComponentWithObserves5 instanceIE = getManager().getInstance(component5);
ComponentWithObserves6 outstance = getManager().getInstance(component6);
instanceIE.getUserName(); // This causes the observer to exist in the context, therefore IF_EXISTS is true.
LoggedInEvent event = new LoggedInEvent("Gurkan");