@Override
  public boolean tryReturnRecordAt(boolean isAtSplitPoint, Long recordStart) {
    return tryReturnRecordAt(isAtSplitPoint, recordStart.longValue());
  }
@Test
  public void testTryReturnRecordNonMonotonic() throws Exception {
    OffsetRangeTracker tracker = new OffsetRangeTracker(100, 200);
    tracker.tryReturnRecordAt(true, 120);
    expected.expect(IllegalStateException.class);
    tracker.tryReturnRecordAt(true, 110);
  }