public void Contact()
        {
            // Arrange
            HomeController controller = new HomeController();

            // Act
            ViewResult result = controller.Contact() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }
        public void About()
        {
            // Arrange
            HomeController controller = new HomeController();

            // Act
            ViewResult result = controller.About() as ViewResult;

            // Assert
            Assert.AreEqual("Your application description page.", result.ViewBag.Message);
        }
        public void SendMeSomeWhereElseIssuesRedirect()
        {
            //var mockContent = new Mock<ControllerContext>();
            //mockContent.Setup(c=>c.HttpContext.Response.Redirect("~/home/index"));
            //var controller = new HomeController();
            //controller.ControllerContext = mockContent.Object;
            //controller.SendMeSomeWhereElse();
            //mockContent.Verify();

            var controller = new HomeController();
            var result = controller.SendMeSomeWhereElse();
            Assert.AreEqual("~/home/index",result.Url);
        }