### Question:
DBReportRequestStateManager extends DBManager<ReportRequestState> implements ReportRequestStateManager { @Override public final void deleteState(final ReportRequestState state) { delete(state); } DBReportRequestStateManager(final SessionFactory sessionFactory); @Override final ReportRequestState getState(final Device device); @Override final List<ReportRequestState> getLateDeviceStates(); @Override final ReportRequestState saveState(final ReportRequestState state); @Override final void deleteState(final ReportRequestState state);  }### Answer:
@Test public final void testDeleteNonexistentState() { DBReportRequestStateManager mgr = new DBReportRequestStateManager(sessionFactory); ReportRequestState state = getTestReportRequestState(testDevices.get(0)); mgr.deleteState(state); Assert.assertEquals(mgr.getList(ReportRequestState.class).size(), 0); }