### Question:
CcLocationReportDaoImpl implements CcLocationReportDao { @Override @Transactional(value="transactionManager", rollbackFor = Throwable.class, propagation = Propagation.REQUIRES_NEW) public void handleException(String content, Throwable error, Date timeReceived) { InvalidLocationRecord ilr = new InvalidLocationRecord(content, error, timeReceived); getSession().saveOrUpdate(ilr); getSession().flush(); getSession().evict(ilr); }  @Autowired @Qualifier("sessionFactory") void setSessionFactory(SessionFactory sessionFactory); Session getSession(); @Transactional(value="transactionManager", rollbackFor = Throwable.class) @Override void saveOrUpdateReport(CcLocationReportRecord report); @Transactional(value="transactionManager", rollbackFor = Throwable.class) @Override void saveOrUpdateReports(CcLocationReportRecord... reports); @SuppressWarnings("unchecked") @Transactional(value="transactionManager", readOnly = true) int getNumberOfReports(); @Override @Transactional(value="transactionManager", rollbackFor = Throwable.class, propagation = Propagation.REQUIRES_NEW) void handleException(String content, Throwable error,
			Date timeReceived);  }### Answer:
@Test public void TestHandleException() { Transaction t = getSession().beginTransaction(); Throwable throwable = new Throwable(); _dao.handleException("content", throwable, null); _dao.handleException("content2", throwable, new Date()); t.commit(); }