private static void assertObjects(Object[] objs, int expectedSize) {
    int count = 0;
    for (Object obj : objs) {
      assertNotNull(obj);
      ++count;
    }
    assertEquals(expectedSize, count);
  }
This test depends on how regionserver process the batch ops. 1) group the put/delete until
meeting the increment 2) process the batch of put/delete 3) process the increment see
RSRpcServices#doNonAtomicRegionMutation
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMalformedCellFromClient.java