@Test
  public void testAdvanceMultipleOnEmptyCell() throws IOException {
    Result r = Result.create(new Cell[0]);
    // After HBASE-26688, advance of result with empty cell list will always return false.
    // Here 10 is an arbitrary number to test the logic.
    for (int i = 0; i < 10; i++) {
      assertFalse(r.advance());
    }
  }
Run some tests to ensure Result acts like a proper CellScanner.
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestResult.java