AbstractComponent<ComponentWithObserves1> component = defineSimpleWebBean(ComponentWithObserves1.class);
AbstractComponent<ComponentWithObservable1> componentObservable = defineSimpleWebBean(ComponentWithObservable1.class);
ContextFactory.initRequestContext(null);
ComponentWithObserves1 instance = getManager().getInstance(component);
ComponentWithObservable1 observable = getManager().getInstance(componentObservable);
observable.afterLoggedIn();
Assert.assertEquals("Gurkan", instance.getUserName());
}