String storyPath = storyPath(MyStory.class);
Locale locale = Locale.getDefault();
// When
StoryReporter reporter = builder.withDefaultFormats().withFormats(CONSOLE, IDE_CONSOLE, HTML, STATS, TXT, XML)
.withKeywords(new LocalizedKeywords(locale)).build(storyPath);
// Then
assertThat(builder.formats(), hasItems(CONSOLE, IDE_CONSOLE, HTML, STATS, TXT, XML));
String[] upperCaseNames = new String[] { "CONSOLE", "IDE_CONSOLE", "HTML", "STATS", "TXT", "XML" };
assertThat(builder.formatNames(false), hasItems(upperCaseNames));