Region region = new RegionImpl("99");
region.setRenderOrder(1);
regions.add(new RegionImpl());
regions.add(region);
PageLayout prevLayout = new PageLayoutImpl();
prevLayout.setNumberOfRegions(2L);
prevLayout.setCode("NEW");
PageLayoutImpl layout = new PageLayoutImpl();
layout.setNumberOfRegions(3L);
layout.setCode(layoutCode);
//create a strict mock that ensures that the appropriate setters are
//called, rather than checking the return value from the function
Page curPage = createStrictMock(Page.class);