@Test
public void testUpdatePage() throws Exception {

	Page page = pageService.createPage(new Page("p1"));
	pageService.updatePage(page.getId(), new Page("p2"));
	assertEquals("p2", pageService.getPage(page.getId()).getName());
}