@Test
public void testTable() throws IOException, InterruptedException {

  String rowKey = "test-row-key";
  String value = "mutation-value";
  Table table = connection.getTable(TABLE_NAME);
  table.put(
      new Put(Bytes.toBytes(rowKey))
          .addImmutable(Bytes.toBytes("cf"), Bytes.toBytes("q"), Bytes.toBytes(value)));
  MutateRowRequest request = fakeDataService.popLastRequest();
  assertEquals(rowKey, request.getRowKey().toStringUtf8());
  assertEquals(value, request.getMutations(0).getSetCell().getValue().toStringUtf8());
}