private static Cell createByteBufferKeyValueFromKeyValue(KeyValue kv) {
    ByteBuffer bb = ByteBuffer.wrap(kv.getBuffer());
    return new ByteBufferKeyValue(bb, 0, bb.remaining());
  }
Test meta comparisons using our new ByteBufferKeyValue Cell type, the type we use everywhere in
2.0.
hbase-common/src/test/java/org/apache/hadoop/hbase/TestCellComparator.java