private void assertResult(int row, Result result) {
    assertEquals(row, Bytes.toInt(result.getRow()));
    assertEquals(row, Bytes.toInt(result.getValue(CF, CQ)));
  }
Testcase to make sure that we do not close scanners if ScanRequest.numberOfRows is zero. See
HBASE-18042 for more details.
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestScanWithoutFetchingData.java