private void disposeNewCatalogTable(
      UnifiedCatalog externalCatalog, String catalogName, String dbName, String tableName)
      throws TException {
    // drop table
    externalCatalog.dropTable(dbName, tableName, true);
    // drop database
    externalCatalog.dropDatabase(dbName);
    TEST_HMS.getHiveClient().dropDatabase(dbName, false, true);
    // drop catalog
    catalogManager().dropCatalog(catalogName);
  }
Test synchronization in the anomaly scenario where the tableIdentifier is remained in
persistence and the tableRuntime is remained in memory but iceberg table does not exist.
amoro-ams/src/test/java/org/apache/amoro/server/table/TestSyncTableOfExternalCatalog.java