### Question:
DBAlertManager extends DBManager<Alert> implements AlertManager { @Override public final Alert getAlert(final UUID id) throws AlertManagerException { LOGGER.debug("getting alert: {}", id); try { return super.get(id); } catch (DBManagerException e) { throw new AlertManagerException(e); } } DBAlertManager(final SessionFactory factory); @Override final Alert saveAlert(final Alert alert); @Override final List<Alert> updateAlerts(final List<Alert> alerts); @Override final List<Alert> getAlertList(); @Override @SuppressWarnings("checkstyle:parameternumber") final FilteredRecordsList<Alert> getOrderedAlertList(
            final String reportId, final String columnToOrder, final boolean ascending,
            final int firstResult, final int maxResults, final String search,
            final AlertListType listType,
            final Map<String, Boolean> searchableColumns, final Date beginDate, final Date endDate); @Override final Alert getAlert(final UUID id); @Override final List<Alert> getAlertsForPolicy(final Policy policy); @Override final List<Alert> getAlertsForBaseline(final Baseline baseline); @Override final long getTotalAlertsForBaseline(final Baseline baseline); @Override List<Alert> getTrustAlerts(final Device device, final Report integrityReport,
                                      final Criterion optionalCriterion); @Override final int getTrustAlertCount(final Device device, final Report integrityReport,
                                    final Criterion optionalCriterion); @Override final void resolveAlerts(final List<Alert> alerts); @Override final void resolveAlerts(final List<Alert> alerts, final String description); final int countUnresolvedAlerts(final Device device); final int countUnresolvedAlerts(final Device device, final AlertSource source); final int countUnresolvedDevices(final DeviceGroup deviceGroup);  }### Answer:
@Test public void testGetUnknown() throws AlertManagerException { final AlertManager mgr = new DBAlertManager(sessionFactory); Assert.assertNull(mgr.getAlert(UNKNOWN_ALERT)); }