def METHOD_NAME():
    query = "Select foo from bar where {relations}"
    relations_config = [{'relation_name': 'breed', 'schemas': ['public']}]
    relations = RelationsManager(relations_config, default_max_relations)
    query_filter = relations.filter_relation_query(query, SCHEMA_NAME)
    assert (
        query_filter
        == "Select foo from bar where (( relname = 'breed' AND schemaname = ANY(array['public']::text[]) ))"
    )