public synchronized void createTable(String tableId, Iterable<String> columnFamilies)
      throws BigtableResourceManagerException {
    createTable(tableId, columnFamilies, Duration.ofHours(1));
  }
@Test
  public void testCreateTableShouldThrowErrorWhenTableAdminClientFailsToCreateTable() {
    when(bigtableResourceManagerClientFactory.bigtableTableAdminClient().exists(anyString()))
        .thenReturn(false);
    when(bigtableResourceManagerClientFactory.bigtableTableAdminClient().createTable(any()))
        .thenThrow(RuntimeException.class);

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