@Test
public void testNoClassRequestMapping() {
ApiParser apiParser = createApiParser();
Map<String, ApiListing> documentList = apiParser.createApiListings();
ResourceListing resourceList = apiParser.getResourceListing(documentList);
for (ApiListingReference api: ScalaToJavaUtil.toJavaList(resourceList.apis())) {
assertNotNull("could not get api listing for path: " + api.path(), documentList.get(api.path().substring(4))); // each api should be accessible using the ApiListingReference minus /doc
}
}
private ApiParser createApiParser() {