@Test
public void testBasicRowKeyAppend() {

  byte[] rowKey = dataHelper.randomData("rk1-");
  Append append = new Append(rowKey);
  ReadModifyWriteRow readModifyWriteRow =
      ReadModifyWriteRow.create(TABLE_ID, ByteString.copyFrom(rowKey));
  appendAdapter.adapt(append, readModifyWriteRow);
  ReadModifyWriteRowRequest request = readModifyWriteRow.toProto(requestContext);
  ByteString adaptedRowKey = request.getRowKey();
  Assert.assertArrayEquals(rowKey, adaptedRowKey.toByteArray());
}