defineManagedBean(ScopeAdaptorInjectorComponent.class);
Object session = getSession();
ContextFactory contextFactory = WebBeansContext.getInstance().getContextFactory();
contextFactory.initRequestContext(null);
contextFactory.initSessionContext(session);
contextFactory.initApplicationContext(null);
List<AbstractOwbBean<?>> comps = getComponents();
Assert.assertEquals(4, getDeployedComponents());