public String getExpectedMessage() {
      return this.expectedMessage + KeyValueUtil.bytesToHex(buf, offset, length);
    }
Tests that getTimestamp() does always return the proper timestamp, even after updating it. See
HBASE-6265.
hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java