@Test
public void testGetSession() {

    Session session = HibernateUtil.getSession();
    assertTrue("Session should be connected.", session.isConnected());
    assertTrue("Session should be open.", session.isOpen());
    assertFalse("Session should not be dirty.", session.isDirty());
}