@Test
public void testBasicRowKeyIncrement() {

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