Method method = SomeSteps.class.getMethod("aMethod");
Keywords keywords = new LocalizedKeywords(){
@Override
public String startingWordFor(StepType stepType) {
throw new StartingWordNotFound(stepType, new HashMap<StepType, String>());
}
};
StepCandidate candidate = new StepCandidate("windows on the $nth floor", 0, WHEN, method, null, null, keywords,
new RegexPrefixCapturingPatternParser(), new ParameterConverters(), new ParameterControls());