@Test
public void testMoveStep() {

  Step step1 = new MockStep();
  Step step2 = new MockStep();
  Step step3 = new MockStep();
  pipeline.addStep(step1);
  pipeline.addStep(step2);
  pipeline.addStep(step3);
  pipeline.moveStep(step1, +1);
  assertEquals("The step order did not change as expected", Arrays.asList(step2, step1, step3),
      pipeline.getSteps());
}