apiDocumentationController.setApiVersion("v1");
apiDocumentationController.setBaseControllerPackage(BASE_CONTROLLER_PACKAGE);
apiDocumentationController.setBasePath("http://localhost/swagger4spring-web-example");
ApiListing documentation = apiDocumentationController.getDocumentation(servletRequest);
assertNotNull(documentation);
assertEquals(documentation.apiVersion(), "v1");
assertEquals(documentation.resourcePath(), "/api/v1/test");
}
@Test
public void getResourceList() {