ImmutableThingRevision implements ThingRevision { @Override public String toString() { return String.valueOf(value); } private  ImmutableThingRevision(final long theValue); static ThingRevision of(final long value); @Override boolean isGreaterThan(final ThingRevision other); @Override boolean isGreaterThanOrEqualTo(final ThingRevision other); @Override boolean isLowerThan(final ThingRevision other); @Override boolean isLowerThanOrEqualTo(final ThingRevision other); @Override ThingRevision increment(); @Override int compareTo(final ThingRevision o); @Override long toLong(); @Override String toString(); @Override boolean equals(final Object o); @Override int hashCode();  }
@Test public void toStringReturnsExpected() { final String expected = String.valueOf(DEFAULT_LONG_VALUE); assertThat(underTest.toString()).isEqualTo(expected); }