@Override public Method getMethod() { return stepCandidate.getMethod(); }
@Override public Method getMethod() { return stepCandidate.getMethod(); //To change body of overridden methods use File | Settings | File Templates. }
public ThucydidesStepCandidate(StepCandidate stepCandidate) { super(stepCandidate.getPatternAsString(), stepCandidate.getPriority(), stepCandidate.getStepType(), stepCandidate.getMethod(), (Class<?>) Extract.field("stepsType").from(stepCandidate), (InjectableStepsFactory) Extract.field("stepsFactory").from(stepCandidate), (Keywords) Extract.field("keywords").from(stepCandidate), new RegexPrefixCapturingPatternParser(), new ParameterConverters(), new ParameterControls()); this.composedOf(stepCandidate.composedSteps()); this.stepCandidate = stepCandidate; }
public SerenityStepCandidate(StepCandidate stepCandidate) { super(stepCandidate.getPatternAsString(), stepCandidate.getPriority(), stepCandidate.getStepType(), stepCandidate.getMethod(), (Class<?>) Extract.field("stepsType").from(stepCandidate), (InjectableStepsFactory) Extract.field("stepsFactory").from(stepCandidate), new StepsContext(), (Keywords) Extract.field("keywords").from(stepCandidate), new RegexPrefixCapturingPatternParser(), new ParameterConverters(), new ParameterControls()); this.composedOf(stepCandidate.composedSteps()); this.stepCandidate = stepCandidate; }