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