public synchronized void createTable(String tableId, Iterable<String> columnFamilies)
      throws BigtableResourceManagerException {
    createTable(tableId, columnFamilies, Duration.ofHours(1));
  }
@Test
  public void testCreateTableShouldThrowErrorWhenTableAdminClientFailsToClose() {
    setupReadyTable();
    BigtableTableAdminClient mockClient =
        bigtableResourceManagerClientFactory.bigtableTableAdminClient();
    doThrow(RuntimeException.class).when(mockClient).close();

    assertThrows(
        BigtableResourceManagerException.class,
        () -> testManager.createTable(TABLE_ID, ImmutableList.of("cf1")));
  }