ImmutablePolicyRevision implements PolicyRevision { @Override public long toLong() { return value; } private  ImmutablePolicyRevision(final long theValue); static ImmutablePolicyRevision of(final long value); @Override boolean isGreaterThan(final PolicyRevision other); @Override boolean isGreaterThanOrEqualTo(final PolicyRevision other); @Override boolean isLowerThan(final PolicyRevision other); @Override boolean isLowerThanOrEqualTo(final PolicyRevision other); @Override PolicyRevision increment(); @Override long toLong(); @Override String toString(); @Override boolean equals(final Object o); @Override int hashCode(); @Override int compareTo(final PolicyRevision o);  }
@Test public void toLongReturnsExpected() { assertThat(underTest.toLong()).isEqualTo(DEFAULT_VALUE); }