final RootDoc rootDoc = RootDocLoader.fromPath("src/test/resources", "fixtures.sample");
boolean parsingResult = new JaxRsAnnotationParser(options, rootDoc).run();
assertThat("JavaDoc generation failed", parsingResult, equalTo(true));
final ResourceListing expectedListing = loadFixture("/fixtures/sample/service.json", ResourceListing.class);
verify(recorderMock).record(any(File.class), eq(expectedListing));
final ApiDeclaration expectedDeclaration = loadFixture("/fixtures/sample/foo.json", ApiDeclaration.class);
verify(recorderMock).record(any(File.class), eq(expectedDeclaration));
}