Annotation[] anns = new Annotation[1];
anns[0] = new AnnotationLiteral<ScopeType>()
{
};
LoggedInObserver observer = new LoggedInObserver();
getManager().addObserver(observer, LoggedInEvent.class, anns);
getManager().fireEvent(new LoggedInEvent(), anns);
Assert.assertEquals("ok", observer.getResult());
}
catch (Exception e)
{
System.out.println(e.getMessage());