@Test
public void testCheckAndMutateRowAsync() throws Exception {

  ConditionalRowMutation checkAndMutate =
      ConditionalRowMutation.create(TABLE_ID, ROW_KEY)
          .then(Mutation.create().setCell(COL_FAMILY, QUALIFIER_1, VALUE_1));
  when(dataClientV2.checkAndMutateRowAsync(checkAndMutate))
      .thenReturn(immediateFuture(Boolean.TRUE));
  assertTrue(dataGCJClient.checkAndMutateRowAsync(checkAndMutate).get());
  verify(dataClientV2).checkAndMutateRowAsync(checkAndMutate);
}