}
@Test
@Transactional
public void deleteGuestBook() {
GuestBook entity = getGuestBookDAO().getNewGuestBook();
entity.setGubSubject("TEST-ENTRY");
entity.setGubDate(new Date());
entity.setGubUsrname("testuser");
getGuestBookDAO().saveOrUpdate(entity);
GuestBook obj2 = getGuestBookDAO().getGuestBookByID(entity.getId());
Assert.assertEquals("Not the expected result", "TEST-ENTRY", obj2.getGubSubject());
getGuestBookDAO().delete(entity);
}