public void OrderedSteps_ShouldReturnedOrderedBySortKey() { var steps = _dutWith3Steps.OrderedSteps().ToList(); Assert.AreEqual(_stepA, steps.ElementAt(0)); Assert.AreEqual(_stepB, steps.ElementAt(1)); Assert.AreEqual(_stepC, steps.ElementAt(2)); }