@Test
public void emptyScanSplit() {

    fdb.run(context -> {
        RecordCursor<KeyValue> kvCursor = KeyValueCursor.Builder.withSubspace(subspace)
                .setContext(context)
                .setRange(TupleRange.allOf(Tuple.from(9)))
                .setContinuation(null)
                .setScanProperties(ScanProperties.FORWARD_SCAN)
                .build();
        RecordCursor<?> cursor = new SplitHelper.KeyValueUnsplitter(context, subspace, kvCursor, false, null, false,
                new CursorLimitManager(context, ScanProperties.FORWARD_SCAN));
        RecordCursorResult<?> result = cursor.getNext();
        assertFalse(result.hasNext());
        assertEquals(RecordCursor.NoNextReason.SOURCE_EXHAUSTED, result.getNoNextReason());
        assertTrue(result.getContinuation().isEnd());
        return null;
    });
}