@Test
  public void testCurrentOnEmptyCell() throws IOException {
    Result r = Result.create(new Cell[0]);
    assertFalse(r.advance());
    assertNull(r.current());
  }
Run some tests to ensure Result acts like a proper CellScanner.
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestResult.java