示例#1
0
        public void ViewSelection3()
        {
            var controller = new ExampleController();
            var result     = controller.Index3();

            Assert.AreEqual("hello", result.ViewBag.Message);
            Assert.AreEqual(DateTime.Now.Day, result.ViewBag.Date.Day);
        }