FilePathResolver pathResolver = new ResolveToPackagedName();
when(builder.pathResolver()).thenReturn(pathResolver);
// When
StoryNarrator.narrateAnInterestingStory(crossReference.createStoryReporter(factory, builder), true);
crossReference.getStepMonitor().stepMatchesPattern("a", true, new StepPattern(StepType.GIVEN, "(def)", "[abc]"), Object.class.getDeclaredMethods()[0], new Object());
// generate XML and JSON
verifyNoMoreInteractions(factory, builder);
crossReference.outputToFiles(builder);