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