public void WebServerController_ProcessRequest_UserIsAuthenticated_Ok()
        {
            //------------Setup for test--------------------------
            var user = new Mock<IPrincipal>();
            user.Setup(u => u.Identity.IsAuthenticated).Returns(true);

            var controller = new TestUserWebServerController(HttpMethod.Get, user.Object);

            //------------Bookmark Test---------------------------
            var response = controller.TestProcessRequest();

            //------------Assert Results-------------------------
            Assert.AreEqual(HttpStatusCode.OK, response.StatusCode);
        }
        public void WebServerController_ProcessRequest_UserIsNull_Unauthorized()
        {
            //------------Setup for test--------------------------
            var controller = new TestUserWebServerController(HttpMethod.Get, null);

            //------------Bookmark Test---------------------------
            var response = controller.TestProcessRequest();

            //------------Assert Results-------------------------
            Assert.AreEqual(HttpStatusCode.Unauthorized, response.StatusCode);
        }