public void CreateRequest_WithNullParameters_ThrowsArgumentNullException(HttpMethod httpMethod, string url)
 {
     var requestBuilder = new DocumentConversionRequestBuilder();
     var exception = Record.Exception(() => requestBuilder.CreateRequest(null, null));
     Assert.NotNull(exception);
     Assert.IsType<ArgumentNullException>(exception);
 }
        public void CreateRequest_Equal()
        {
            var requestBuilder = new DocumentConversionRequestBuilder();

            var request = requestBuilder.CreateRequest(HttpMethod.Get, ServiceUrl);

            Assert.NotNull(request);
            Assert.Equal(ServiceUrl, request.RequestUri.ToString());
            Assert.Equal(HttpMethod.Get, request.Method);
        }