ImmutableLimitOption implements LimitOption { @Override public int getCount() { return count; } private  ImmutableLimitOption(final int offset, final int count); static ImmutableLimitOption of(final int offset, final int count); @Override void accept(final OptionVisitor visitor); @Override boolean equals(final Object o); @Override int getOffset(); @Override int getCount(); @Override int hashCode(); @Override String toString();  }
@Test public void getCountReturnsExpected() { assertThat(underTest.getCount()).isEqualTo(KNOWN_COUNT); }