SimpleReport implements CheckReport { @Override public String toString() { return "SimpleReport{" + "checkName='" + checkName + '\'' + ", violations=" + violations + '}'; } SimpleReport(final String checkName, final Collection<Violation> violations); @Override String getCheckName(); @Override @NotNull Collection<Violation> getViolations(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); static SimpleReport generateReport(final @NotNull ProgressCheck reporter); static SimpleReport generateReport(final @NotNull ErrorListener reporter); static SimpleReport fromJson(final @NotNull JsonObject jsonReport);  }
@Test public void testToString() { assertNotNull("toString is still good", new SimpleReport("", null).toString()); }