private static void verifyData(Cell kv, String expectedRow, String expectedCol,
    long expectedVersion) {
    assertTrue("RowCheck", CellUtil.matchingRows(kv, Bytes.toBytes(expectedRow)));
    assertTrue("ColumnCheck", CellUtil.matchingQualifier(kv, Bytes.toBytes(expectedCol)));
    assertEquals("TSCheck", expectedVersion, kv.getTimestamp());
    assertTrue("ValueCheck",
      CellUtil.matchingValue(kv, genValue(expectedRow, expectedCol, expectedVersion)));
  }
Callers must afterward call {@link HBaseTestingUtil#closeRegionAndWAL(HRegion)}
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestBlocksRead.java