def METHOD_NAME(gds: GraphDataScience) -> None:
    with pytest.raises(
        ValueError,
        match="Invalid query, the query must end with the `RETURN gds.graph.project\\(\\.\\.\\.\\)` call: .+",
    ):
        gds.graph.cypher.project(
            "MATCH (s)-->(t) RETURN gds.graph.project($graph_name, s, t) RETURN gds.graph.project($graph_name, s, t)",
        )