Is it possible to have multiple ParameterConverters of the same type? I
ask because I have the following and it doesn't seem to be working.
public Configuration getConfiguration()
{
Configuration config = new MostUsefulConfiguration()
.useStoryParser(new GherkinStoryParser())
.useStoryControls(
new StoryControls()
.doDryRun(TestConfiguration.getInstance().doDryRun())
.doSkipScenariosAfterFailure(false))
.useStepPatternParser(new RegexPrefixCapturingPatternParser())
.useStoryLoader(new
LoadFromClasspath(this.getClass().getClassLoader()))
.useStoryReporterBuilder(
new StoryReporterBuilder()
.withFormats(Format.CONSOLE, Format.TXT, Format.STATS,
WebDriverHtmlOutputWithImg.WEB_DRIVER_HTML_WITH_IMG)
.withFailureTrace(true)
.withReporters(new LoggingStoryReporter()));
config.parameterConverters().addConverters(
new DateConverter(new SimpleDateFormat("yyyy-MM-dd")),
new ParameterConverters.BooleanConverter("will", "will not") //
add another boolean converter
);
return config;
}