### Question:
AbstractApiDocService { protected String getEndPoint(String swaggerBasePath, String originalEndpoint) { String endPoint = originalEndpoint; if (swaggerBasePath != null && !swaggerBasePath.equals(OpenApiUtil.SEPARATOR)) { endPoint = swaggerBasePath + endPoint; } return endPoint; }  abstract String transformApiDoc(String serviceId, ApiDocInfo apiDocInfo);  }### Answer:
@Test public void shouldGetEndpoint() { String endpoint = abstractApiDocService.getEndPoint("/api/v1/api-doc", "/apicatalog"); assertEquals("/api/v1/api-doc/apicatalog", endpoint); }