@Test public void trivialToStringTest() { Difference d = new Difference(new Comparison(ComparisonType.NODE_TYPE, new NullNode(), "/", new Short("2"), "", new NullNode(), "/", new Short("2"), ""), ComparisonResult.EQUAL); assertThat(d.toString(), containsString(" (EQUAL)")); }
public String toString(ComparisonFormatter formatter) { return this.comparison.toString(formatter) + " (" + result.name() + ")"; }
Difference { public String toString(ComparisonFormatter formatter) { return this.comparison.toString(formatter) + " (" + result.name() + ")"; } }
Difference { public String toString(ComparisonFormatter formatter) { return this.comparison.toString(formatter) + " (" + result.name() + ")"; } Difference(Comparison comparison, ComparisonResult result); }
Difference { public String toString(ComparisonFormatter formatter) { return this.comparison.toString(formatter) + " (" + result.name() + ")"; } Difference(Comparison comparison, ComparisonResult result); ComparisonResult getResult(); Comparison getComparison(); void setComparisonFormatter(ComparisonFormatter formatter); String toString(ComparisonFormatter formatter); @Override String toString(); }
Difference { public String toString(ComparisonFormatter formatter) { return this.comparison.toString(formatter) + " (" + result.name() + ")"; } Difference(Comparison comparison, ComparisonResult result); ComparisonResult getResult(); Comparison getComparison(); void setComparisonFormatter(ComparisonFormatter formatter); String toString(ComparisonFormatter formatter); @Override String toString();  }