@Test
    public void test() {
      MixedFormatCatalog catalog = loadMixedIcebergCatalog();
      Assertions.assertEquals(
          InternalMixedIcebergCatalog.class.getName(), catalog.getClass().getName());
      Assertions.assertTrue(catalog.listDatabases().isEmpty());

      catalog.createDatabase(database);
      Assertions.assertEquals(1, catalog.listDatabases().size());
      Assertions.assertTrue(catalog.listDatabases().contains(database));
      Assertions.assertEquals(1, nsCatalog.listNamespaces(Namespace.of()).size());

      catalog.dropDatabase(database);
      Assertions.assertTrue(catalog.listDatabases().isEmpty());
      Assertions.assertTrue(nsCatalog.listNamespaces().isEmpty());
    }
write test records to the target table and return the expected records
amoro-ams/src/test/java/org/apache/amoro/server/TestInternalMixedCatalogService.java