@Test
public void validatorReportsNoErrorsForSubstepsWithValidSteps() {

    final PatternMap<ParentStep> substeps = this.substepsFileParser
            .loadSubSteps(createSubstepsFile("allFeatures.substeps"));
    final StepValidator stepValidator = createStepValidatorWithSubsteps("simple.substeps", mock,
            MockStepImplementations.class);
    for (final ParentStep substep : substeps.values()) {
        stepValidator.validateSubstep(substep, mock);
    }
    verify(mock, never()).reportFeatureError(any(),any(),anyInt(),anyInt(),any());
    verify(mock, never()).reportSubstepsError(any());
    verify(mock, never()).reportStepImplError(any());
}