assertThatOutputNameIs("my_given", "my_given.ext", null);
}
@Test
public void shouldResolveOutputNameFromStoryLocationWithSimpleNameResolver() {
FilePathResolver resolver = new ResolveToSimpleName();
assertThatOutputNameIs("org/jbehave/examples/trader/stories/my_given.story",
"my_given.ext", resolver);
assertThatOutputNameIs("/org/jbehave/examples/trader/stories/my_given.story",
"my_given.ext", resolver);
assertThatOutputNameIs("my_given.story", "my_given.ext", resolver);