Example #1
0
        public void HomeControllerAboutUsShouldPass()
        {
            HomeController hc  = new HomeController();
            var            res = hc.AboutUs();

            Assert.IsNotNull(res);
        }
Example #2
0
        public void About()
        {
            // Arrange
            HomeController controller = new HomeController();

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

            // Assert
            Assert.AreEqual("Your application description page.", result.ViewBag.Message);
        }