request = new MockHttpServletRequest();
validUser = new UserImpl(USER_ID);
validPageLayout = new PageLayoutImpl();
validPageLayout.setCode(VALID_PAGE_LAYOUT_CODE);
defaultPageUser = new PageUserImpl(USER_ID, defaultPage, 1L);
defaultPageUser.setPageStatus(PageInvitationStatus.OWNER);
validUser.setDefaultPageLayout(validPageLayout);
defaultPage = new PageImpl(DEFAULT_PAGE_ID, USER_ID);
defaultPage.setPageLayout(validPageLayout);
List<PageUser> members = new ArrayList<PageUser>();
members.add(defaultPageUser);
defaultPage.setMembers(members);
otherPage = new PageImpl(OTHER_PAGE_ID, USER_ID);
otherPage.setPageLayout(validPageLayout);
otherPageUser = new PageUserImpl(USER_ID, otherPage, 2L);
otherPageUser.setPageStatus(PageInvitationStatus.OWNER);
List<PageUser> members2 = new ArrayList<PageUser>();
members2.add(otherPageUser);
otherPage.setMembers(members2);