pageRepository = createNiceMock(PageRepository.class);
regionRepository = createNiceMock(RegionRepository.class);
widgetRepository = createNiceMock(WidgetRepository.class);
pageService = new DefaultPageService(pageRepository, regionRepository, widgetRepository);
targetRegion = new Region();
targetRegion.setRegionWidgets(new ArrayList<RegionWidget>());
targetRegion.getRegionWidgets().add(new RegionWidget(1L, 0));
targetRegion.getRegionWidgets().add(new RegionWidget(2L, 1));
targetRegion.getRegionWidgets().add(new RegionWidget(3L, 2));
originalRegion = new Region();
originalRegion.setRegionWidgets(new ArrayList<RegionWidget>());
originalRegion.getRegionWidgets().add(new RegionWidget(4L, 0));
originalRegion.getRegionWidgets().add(new RegionWidget(5L, 1));
originalRegion.getRegionWidgets().add(new RegionWidget(6L, 2));
}