/* SimplePageHibernateDao specific methods */
@Test
public void testCreatePage() {
SimplePage simplePage = ObjectsFactory.getDefaultSimplePage();
session.save(simplePage);
dao.createPage(simplePage);
session.evict(simplePage);
SimplePage result = (SimplePage) session.get(SimplePage.class, simplePage.getId());
assertNotNull(result);
assertEquals(simplePage.getId(), result.getId());
assertEquals(simplePage.getName(), result.getName());
assertEquals(simplePage.getContent(), result.getContent());
assertEquals(simplePage.getPathName(), result.getPathName());
}