public void Index()
        {
            // 排列
            HomeController controller = new HomeController();

            // 操作
            ViewResult result = controller.Index() as ViewResult;

            // 断言
            Assert.AreEqual("修改此模板以快速启动你的 ASP.NET MVC 应用程序。", result.ViewBag.Message);
        }
        public void Contact()
        {
            // 排列
            HomeController controller = new HomeController();

            // 操作
            ViewResult result = controller.Contact() as ViewResult;

            // 断言
            Assert.IsNotNull(result);
        }