public void testLocalCurrentUserInfo() {
final String userName = "testUser";
final CurrentUser currentUser = new CurrentUser();
currentUser.setUser(userName);
new NonStrictExpectations() {{
FacesContext.getCurrentInstance(); result = facesContext;
facesContext.getApplication(); result = application;
facesContext.getELContext(); result = elContext;
application.getELResolver(); result = elResolver;
elResolver.getValue(elContext, null, "currentUser"); result = currentUser;