private RunNotifier notifier; private Description storyDescription; public JRunnerConfiguration useJunitNotifier(RunNotifier notifier){ this.notifier = notifier; return this; } public RunNotifier getJunitNotifier(){ return notifier; } public StoryReporter storyReporter(String storyPath) { return ((JRunnerStoryReporterBuilder)storyReporterBuilder()).build(storyPath, notifier, storyDescription); } public JRunnerConfiguration setJunitStoryDescription(Description description){ this.storyDescription = description; return this; }