public void FormatEndRequestThrowsExceptionForNullHttpResponse()
        {
            HttpRequest httpRequest = CommonTestHelpers.Factory.CreateHttpRequest();

            var formatter = new TextFormatter();

            formatter.FormatEndRequest(httpRequest, null);
        }
        public void FormatEndRequestReturnsNonEmptyString()
        {
            HttpRequest  httpRequest  = CommonTestHelpers.Factory.CreateHttpRequest();
            HttpResponse httpResponse = CommonTestHelpers.Factory.CreateHttpResponse();

            var    formatter = new TextFormatter();
            string result    = formatter.FormatEndRequest(httpRequest, httpResponse);

            Assert.IsFalse(string.IsNullOrWhiteSpace(result));
        }