### Question:
ReportCatalogDaoHibernate extends
        AbstractDaoHibernate<ReportCatalogEntry, Integer> implements
        ReportCatalogDao { public void delete(Integer id) { ReportCatalogEntry catalogEntry = (ReportCatalogEntry)getHibernateTemplate().get(ReportCatalogEntry.class, id); super.delete(catalogEntry); } ReportCatalogDaoHibernate(); void delete(Integer id);  }### Answer:
@Test @Transactional public void testDelete() { Date date = new Date(); ReportCatalogEntry catalogEntry = new ReportCatalogEntry(); catalogEntry.setReportId("reportId_2"); catalogEntry.setLocation("location_2"); catalogEntry.setTitle("title_2"); catalogEntry.setDate(date); m_reportCatalogDao.save(catalogEntry); Integer id = catalogEntry.getId(); assertNotNull(m_reportCatalogDao.get(id)); m_reportCatalogDao.delete(id); assertNull(m_reportCatalogDao.get(id)); }