public void testExpectedNumberOfCellsPerPartialResult(Scan baseScan) throws Exception {
    for (int expectedCells = 1; expectedCells <= NUM_COLS; expectedCells++) {
      testExpectedNumberOfCellsPerPartialResult(baseScan, expectedCells);
    }
  }
Setting the max result size allows us to control how many cells we expect to see on each call
to next on the scanner. Test a variety of different sizes for correctness
hbase-server/src/test/java/org/apache/hadoop/hbase/TestPartialResultsFromClientSide.java