@Test
public void testModifyFamilies() {

  ModifyColumnFamiliesRequest request =
      ModifyColumnFamiliesRequest.of(TABLE_ID)
          .addFamily(COLUMN_FAMILY, GCRULES.maxVersions(1))
          .updateFamily(UPDATE_FAMILY, GCRULES.defaultRule());
  when(mockAdminClient.modifyColumnFamily(request.toProto(PROJECT_ID, INSTANCE_ID)))
      .thenReturn(createTableData());
  Table response = clientWrapper.modifyFamilies(request);
  assertEquals(Table.fromProto(createTableData()), response);
  verify(mockAdminClient).modifyColumnFamily(request.toProto(PROJECT_ID, INSTANCE_ID));
}