def METHOD_NAME():
    # Just a simple happy path test to detect potentially breaking changes.
    assert ESPSCCodes.generate_elasticsearch_query(
        {
            "require": [["Product", "1", "1111"], ["Research and Development"]],
            "exclude": [["Product", "1"], ["Research and Development", "A", "A5"]],
        },
        _QueryType.AWARDS,
    ).to_dict() == {
        "query_string": {
            "query": "((((A*)) AND (((NOT (A* AND A5*)))))) OR ((((1* AND 1111))))",
            "default_field": "product_or_service_code.keyword",
        }
    }