ImmutableCursorOption implements CursorOption { @Override public String getCursor() { return cursor; } private  ImmutableCursorOption(final String cursor); @Override void accept(final OptionVisitor visitor); @Override boolean equals(final Object o); @Override String getCursor(); @Override int hashCode(); @Override String toString();  }
@Test public void getCursorReturnsExpected() { assertThat(underTest.getCursor()).isEqualTo(CURSOR); }