def METHOD_NAME(self):
    missing_dependency_config_container = _setup_job_graph_config_container()
    missing_dependency_config_container.get_jobs.return_value.pop("other.job2")
    with pytest.raises(ValueError) as e:
        JobGraph(
            missing_dependency_config_container, should_validate_missing_dependency=True,
        )
    assert str(e.value) == MISSING_DEPENDENCY_ERR_MSG