### Question:
ReportMetadata { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ReportMetadata that = (ReportMetadata) o; if (totalPages != that.totalPages) return false; if (uri != null ? !uri.equals(that.uri) : that.uri != null) return false; return true; } ReportMetadata(String uri, int totalPages); String getUri(); int getTotalPages(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testEquals() throws Exception { EqualsVerifier.forClass(ReportMetadata.class).verify(); }