Page subPage2 = new PageImpl();
subPage2.setId(SUB_PAGE_2_ID);
subPage2.setOwnerId(testOwner.getId());
List<PageUser> pageUsers1 = new ArrayList<PageUser>();
PageUser pageUser1 = new PageUserImpl();
pageUser1.setUserId(id);
pageUser1.setPage(subPage1);
pageUser1.setRenderSequence(2L);
pageUsers1.add(pageUser1);
subPage1.setMembers(pageUsers1);
List<PageUser> pageUsers2 = new ArrayList<PageUser>();
PageUser pageUser2 = new PageUserImpl();
pageUser2.setUserId("");
pageUser2.setPage(subPage2);
pageUser2.setRenderSequence(19L);
pageUsers2.add(pageUser2);
PageUser pageUser3 = new PageUserImpl();
pageUser3.setUserId(testOwner.getId());
pageUser3.setPage(subPage2);
pageUser3.setRenderSequence(1L);
pageUsers2.add(pageUser3);
subPage2.setMembers(pageUsers2);
subPages.add(subPage1);
subPages.add(subPage2);
pageLayout=new PageLayoutImpl();
renderSequence=1223L;
regions=new ArrayList<Region>();
regions.add(new RegionImpl());
regions.add(new RegionImpl());
page.setName(testName);
page.setOwnerId(testOwner.getId());
page.setParentPage(parentPage);
page.setSubPages(subPages);
page.setPageLayout(pageLayout);
page.setRegions(regions);
pageUser = new PageUserImpl();
pageUser.setPage(page);
pageUser.setUserId(id);
pageUser.setRenderSequence(renderSequence);
}