@Test
public void testCompareSteps() {

  Step a = MockStep.createMockStepWithOperation();
  Step b = MockStep.createMockStepWithOperation();
  pipeline.addStep(a);
  pipeline.addStep(b);
  assertEquals("a should be 1 behind b", -1, pipeline.compare(a, b));
  assertEquals("b should be 1 ahead of a", 1, pipeline.compare(b, a));
}