def METHOD_NAME(gds: GraphDataScience) -> None:
    G, _ = gds.graph.project(GRAPH_NAME, "*", "*")
    # Similar enough
    with pytest.raises(
        SyntaxError, match="There is no 'gds.pagerank.stream' to call. Did you mean 'gds.pageRank.stream'?"
    ):
        gds.pagerank.stream(G)
    # Too different
    with pytest.raises(SyntaxError, match="There is no 'gds.peggyRankerTroll.stream' to call$"):
        gds.peggyRankerTroll.stream(G)