@Test
public void testModifyFamiliesAsync() throws Exception {

  ModifyColumnFamiliesRequest request =
      ModifyColumnFamiliesRequest.of(TABLE_ID)
          .addFamily(COLUMN_FAMILY, GCRULES.maxVersions(1))
          .updateFamily(UPDATE_FAMILY, GCRULES.defaultRule());
  when(mockAdminClient.modifyColumnFamilyAsync(request.toProto(PROJECT_ID, INSTANCE_ID)))
      .thenReturn(immediateFuture(createTableData()));
  Future<Table> response = clientWrapper.modifyFamiliesAsync(request);
  assertEquals(Table.fromProto(createTableData()), response.get());
  verify(mockAdminClient).modifyColumnFamilyAsync(request.toProto(PROJECT_ID, INSTANCE_ID));
}