private StepValidator createStepValidatorWithSubsteps(final String substepsFilename,
final Class<?>... stepImplClasses) {
final Syntax syntax = SyntaxBuilder.buildSyntax(Arrays.asList(stepImplClasses),
createSubstepsFile(substepsFilename), true, new String[0], new ClassAnalyser(), true,
this.syntaxErrorReporter);
return new SyntaxAwareStepValidator(syntax);
}