### Question:
IntegrityReport extends Report { public final Set<Report> getReports() { return Collections.unmodifiableSet(reports); } IntegrityReport(); final void addReport(final Report report); final boolean contains(Class<? extends Report> reportType); final Set<Report> getReports(); final void removeReport(final Report report); final T extractReport(final Class<T> reportType); String getDeviceName(); @Override final String getReportType();  }### Answer:
@Test public final void testPersistingNoReports() { IntegrityReport integrityReport = new IntegrityReport(); IntegrityReport savedIntegrityReport = saveAndRetrieve(integrityReport); Assert.assertEquals(savedIntegrityReport, integrityReport); Assert.assertEquals( savedIntegrityReport.getReports(), integrityReport.getReports() ); }