About() private method

private About ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
Beispiel #1
0
        public void About()
        {
            // Arrange
            HomeController controller = new HomeController(null);

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

            // Assert
            Assert.IsNotNull(result);
        }