@Test
public void test_trailing0xFF() {

  byte trailer = (byte) 0xFF;
  byte[] key = new byte[] {0x01, trailer, trailer, trailer};
  byte[] nextKey = RowKeyUtil.calculateTheClosestNextRowKeyForPrefix(key);
  Assert.assertEquals((byte) 0x2, nextKey[0]);
}