### Question:
DBAlertMonitorManager extends DBManager<AlertMonitor> implements AlertMonitorManager { @Override public final AlertMonitor saveAlertMonitor(final AlertMonitor monitor) throws AlertMonitorManagerException { LOGGER.debug("saving Alert Monitor {}", monitor); try { return super.save(monitor); } catch (DBManagerException e) { throw new AlertMonitorManagerException(e); } } DBAlertMonitorManager(final SessionFactory sessionFactory); @Override final AlertMonitor saveAlertMonitor(final AlertMonitor monitor); @Override final void updateAlertMonitor(final AlertMonitor monitor); @Override final List<AlertMonitor> getAlertMonitorList(final Class<? extends AlertMonitor> clazz); @Override final AlertMonitor getAlertMonitor(final String name); @Override final boolean deleteAlertMonitor(final String name);  }### Answer:
@Test public final void saveAlertMonitor() { DBAlertMonitorManager dbamm = new DBAlertMonitorManager(sessionFactory); JsonAlertMonitor monitor = new JsonAlertMonitor("test"); monitor.setName("TestAM1"); dbamm.saveAlertMonitor(monitor); AlertMonitor getAm = dbamm.getAlertMonitor("TestAM1"); String getName = getAm.getName(); Assert.assertEquals(getName, "TestAM1"); }