def METHOD_NAME():
    with pytest.raises(
        DagsterInvalidDefinitionError, match='node "NOTTHERE" not found in node list'
    ):
        GraphDefinition(
            node_defs=solid_a_b_list(),
            name="test",
            dependencies={"A": {}, "B": {"b_input": DependencyDefinition("NOTTHERE")}},
        )