if(principal != null)
CacheController.cacheObject("userCache", "anonymous", principal);
}
FakeHttpSession fakeHttpServletSession = new FakeHttpSession();
FakeHttpServletResponse fakeHttpServletResponse = new FakeHttpServletResponse();
FakeHttpServletRequest fakeHttpServletRequest = new FakeHttpServletRequest();
fakeHttpServletRequest.setParameter("siteNodeId", "" + siteNodeId);
fakeHttpServletRequest.setParameter("languageId", "" + languageId);
fakeHttpServletRequest.setParameter("contentId", "" + contentId);
fakeHttpServletRequest.setRequestURI("ViewPage.action");