### Question:
NotificationTemplateDao extends NamedParameterJdbcDaoSupport { @Transactional(propagation = Propagation.MANDATORY) public NotificationTemplate createNotificationTemplate(NotificationTemplate notificationTemplate) { getNamedParameterJdbcTemplate().update(createNotificationTemplateQuery, NotificationTemplateParameters.getParameters(notificationTemplate)); return notificationTemplate; }  @Transactional(propagation = Propagation.MANDATORY) NotificationTemplate createNotificationTemplate(NotificationTemplate notificationTemplate); @Transactional(propagation = Propagation.SUPPORTS) NotificationTemplate loadNotificationTemplate(Long id); List<NotificationTemplate> loadAllNotificationTemplates(); @Transactional(propagation = Propagation.MANDATORY) NotificationTemplate updateNotificationTemplate(NotificationTemplate template); @Transactional(propagation = Propagation.MANDATORY) void deleteNotificationTemplate(long templateId); @Required void setCreateNotificationTemplateQuery(String createNotificationTemplateQuery); @Required void setLoadNotificationTemplateQuery(String loadNotificationTemplateQuery); @Required void setLoadAllNotificationTemplatesQuery(String loadAllNotificationTemplatesQuery); @Required void setUpdateNotificationTemplateQuery(String updateNotificationTemplateQuery); @Required void setDeleteNotificationTemplateQuery(String deleteNotificationTemplateQuery);  }### Answer:
@Test @Transactional(propagation = Propagation.REQUIRES_NEW) public void createNotificationTemplate() { NotificationTemplate template = createTemplate(); NotificationTemplate notificationTemplate = notificationTemplateDao.createNotificationTemplate(template); Assert.assertNotNull(notificationTemplateDao.loadNotificationTemplate(notificationTemplate.getId())); }