CursorObject implements Comparable<CursorObject> { @Nullable @JsonProperty public String getKey() { return key; } CursorObject(); @JsonCreator  CursorObject(
      @JsonProperty("key") final String key, @JsonProperty("value") final String value); @Nullable @JsonProperty String getKey(); @Nullable @JsonProperty String getValue(); @JsonProperty void setValue(final String value); @Override boolean equals(final Object obj); @Override int hashCode(); @Override String toString(); @Override int compareTo(final CursorObject that);  }
@Test public void testGetKey() { assertThat(cursor.getKey()).isEqualTo("test-notifications"); }