@Override
    public Database getDb(String name) {
        ConnectorMetadata metadata = metadataOfDb(name);
        return metadata.getDb(name);
    }
@Test
    void testGetDb(@Mocked ConnectorMetadata connectorMetadata) {
        new Expectations() {
            {
                connectorMetadata.getDb("test_db");
                result = null;
                times = 1;
            }
        };

        CatalogConnectorMetadata catalogConnectorMetadata = new CatalogConnectorMetadata(
                connectorMetadata,
                informationSchemaMetadata,
                metaMetadata
        );

        Database db = catalogConnectorMetadata.getDb("test_db");
        assertNull(db);
        assertNotNull(catalogConnectorMetadata.getDb(InfoSchemaDb.DATABASE_NAME));
    }