private IClientHttpRequest CreateRequest(BasicSigningRequestInterceptor requestInterceptor, string path, HttpMethod method)
        {
            IClientHttpRequestFactory requestFactory = new InterceptingClientHttpRequestFactory(
                new WebClientHttpRequestFactory(),
                new IClientHttpRequestInterceptor[] { requestInterceptor });

            Uri uri = new Uri(BASE_URL + path);
            IClientHttpRequest request = requestFactory.CreateRequest(uri, method);
            Assert.AreEqual(method, request.Method, "Invalid HTTP method");
            Assert.AreEqual(uri, request.Uri, "Invalid HTTP URI");

            return request;
        }
        private IClientHttpRequest CreateRequest(BasicSigningRequestInterceptor requestInterceptor, string path, HttpMethod method)
        {
            IClientHttpRequestFactory requestFactory = new InterceptingClientHttpRequestFactory(
                new WebClientHttpRequestFactory(),
                new IClientHttpRequestInterceptor[] { requestInterceptor });

            Uri uri = new Uri(BASE_URL + path);
            IClientHttpRequest request = requestFactory.CreateRequest(uri, method);

            Assert.AreEqual(method, request.Method, "Invalid HTTP method");
            Assert.AreEqual(uri, request.Uri, "Invalid HTTP URI");

            return(request);
        }