BigtableDataClientWrapper implements IBigtableDataClient { @Override public void mutateRow(RowMutation rowMutation) { MutateRowRequest mutateRowRequest = rowMutation.toProto(requestContext); delegate.mutateRow(mutateRowRequest); } BigtableDataClientWrapper(
      BigtableDataClient bigtableDataClient, RequestContext requestContext); @Override void mutateRow(RowMutation rowMutation); @Override ApiFuture<Void> mutateRowAsync(RowMutation rowMutation); @Override Row readModifyWriteRow(ReadModifyWriteRow readModifyWriteRow); @Override ApiFuture<Row> readModifyWriteRowAsync(ReadModifyWriteRow readModifyWriteRow); @Override IBulkMutation createBulkMutationBatcher(String tableId); @Override ApiFuture<Boolean> checkAndMutateRowAsync(ConditionalRowMutation conditionalRowMutation); @Override Boolean checkAndMutateRow(ConditionalRowMutation conditionalRowMutation); @Override List<KeyOffset> sampleRowKeys(String tableId); @Override ApiFuture<List<KeyOffset>> sampleRowKeysAsync(String tableId); @Override ResultScanner<Row> readRows(Query request); @Override ApiFuture<List<Row>> readRowsAsync(Query request); @Override List<FlatRow> readFlatRowsList(Query request); @Override ResultScanner<FlatRow> readFlatRows(Query request); @Override ApiFuture<List<FlatRow>> readFlatRowsAsync(Query request); @Override void readFlatRowsAsync(Query request, StreamObserver<FlatRow> observer);  }
@Test public void testMutateRow() { RowMutation rowMutation = RowMutation.create(TABLE_ID, "key"); MutateRowRequest mutateRowRequest = rowMutation.toProto(REQUEST_CONTEXT); when(client.mutateRow(mutateRowRequest)).thenReturn(MutateRowResponse.getDefaultInstance()); clientWrapper.mutateRow(rowMutation); verify(client).mutateRow(mutateRowRequest); }