public void testLoggedOff()
{
IRequestCycle cycle = newCycle();
IErrorProperty page = newPage();
ApplicationStateManager manager = newApplicationStateManager();
Visit visit = newVisit();
manager.exists("visit");
setReturnValue(manager, true);
manager.get("visit");
setReturnValue(manager, visit);
visit.isUserLoggedIn();
setReturnValue(visit, false);