def METHOD_NAME(self):
    examinee = self.examinee()
    examinee.add_step(self.pipeline_step(name='foo'))
    examinee.add_step(self.pipeline_step(name='bar', depends=['foo']))
    examinee.add_step(self.pipeline_step(name='baz', depends=['foo', 'bar']))
    ordered_steps = tuple(examinee.ordered_steps())
    assert len(ordered_steps) == 3
    first, second, third = ordered_steps
    assert len(first) == 1
    assert len(second) == 1
    assert len(third) == 1
    assert 'foo' in first
    assert 'bar' in second
    assert 'baz' in third