@Test
public void validatorReportsMissingStepsInScenario() {

    File ff = createFeatureFile("error.feature");
    final FeatureFile featureFile = this.featureFileParser.loadFeatureFile(ff);
    createStepValidatorWithSubsteps("simple.substeps", mock).validateFeatureFile(featureFile, mock);
    verify(mock).reportFeatureError(eq(ff), eq("Given step 1"), eq(6), anyInt(), any());
    verify(mock).reportFeatureError(eq(ff), eq("Given step 2"), eq(7), anyInt(), any());
}