@Test
@SuppressWarnings("PMD.EmptyCatchBlock")
public void testIndexOf() {

  Step step = MockStep.createMockStepWithOperation();
  pipeline.addStep(step);
  assertEquals("Index of step was not zero", 0, pipeline.indexOf(step));
  pipeline.removeStep(step);
  assertEquals("Index was not -1", -1, pipeline.indexOf(step));
}