Represents a mocked HTTP-response.
Inheritance: System.Web.HttpResponseBase
        public void SetContentType_HttpResponseTestStruct_TextHtml()
        {
            var response = new HttpResponseMock();

            response.SetContentType(TestStruct);

            var act = response.ContentType;
            var exp = TestStruct.ToString();

            Assert.AreEqual(exp, act);
        }
        public void GetContentType_HttpResponse_TextHtml()
        {
            var response = new HttpResponseMock() { ContentType = "text/html" };

            var act = response.GetContentType();
            var exp = TextHtml;

            Assert.AreEqual(exp, act);
        }