private ApiRequestPathInfo parseApiRequestPath(String path, String acceptHeader, String apiVersionHeader) {
        MockHttpServletRequest mockReq = new MockHttpServletRequest(path);
        if (acceptHeader != null) {
            mockReq.setHeader("Accept", acceptHeader);
        }
        if (apiVersionHeader != null) {
            mockReq.setHeader("X-API-Version", apiVersionHeader);
        }
        return GatewayServlet.parseApiRequestPath(mockReq);
    }
@param path
@param acceptHeader
@param apiVersionHeader
gateway/platforms/servlet/src/test/java/io/apiman/gateway/platforms/servlet/GatewayServletTest.java