public boolean containsSchema(final String schemaName) {
        return schemas.containsKey(schemaName);
    }
@Test
    void assertContainsSchema() {
        DatabaseType databaseType = mock(DatabaseType.class);
        RuleMetaData ruleMetaData = mock(RuleMetaData.class);
        ShardingSphereSchema schema = mock(ShardingSphereSchema.class);
        ShardingSphereDatabase database = new ShardingSphereDatabase("foo_db", databaseType, mock(ResourceMetaData.class), ruleMetaData, Collections.singletonMap("schema1", schema));
        assertTrue(database.containsSchema("schema1"));
        assertFalse(database.containsSchema("non_existent_schema"));
    }