@Test
  public void shouldPassMetaToStepCreatorWhenCreatingStepUponOutcomeWithMeta() throws Exception {
    StepCreator stepCreator = mock(StepCreator.class);

    Method method = methodFor("aMethodWith");
    BeforeOrAfterStep beforeOrAfterStep = new BeforeOrAfterStep(Stage.AFTER, method, stepCreator);

    Meta meta = mock(Meta.class);
    beforeOrAfterStep.createStepUponOutcome(meta);

    verify(stepCreator).createAfterStepUponOutcome(method, AfterScenario.Outcome.ANY, meta);
  }
  @Test
  public void shouldPassMetaToStepCreatorWhenCreatingStepWithMeta() throws Exception {
    StepCreator stepCreator = mock(StepCreator.class);

    Method method = methodFor("aMethodWith");
    BeforeOrAfterStep beforeOrAfterStep = new BeforeOrAfterStep(Stage.BEFORE, method, stepCreator);

    Meta meta = mock(Meta.class);
    beforeOrAfterStep.createStepWith(meta);

    verify(stepCreator).createBeforeOrAfterStep(method, meta);
  }