def METHOD_NAME(
    make_mock_registered_model, make_mock_pipeline_step
):
    mocked_rm = make_mock_registered_model(id=123, name="test_rm")
    with patch.object(
        verta.pipeline.PipelineStep, "_get_registered_model", return_value=mocked_rm
    ):
        step_1 = make_mock_pipeline_step(name="step_1")
        step_2 = make_mock_pipeline_step(name="step_2")
        step_3 = make_mock_pipeline_step(name="step_1")
    with pytest.raises(ValueError) as err:
        PipelineGraph(steps={step_1, step_2, step_3})
    assert str(err.value) == "step names must be unique within a PipelineGraph"