Exemplo n.º 1
0
        public void About()
        {
            // Arrange
            StudentController controller = new StudentController(_mockStudentService.Object);

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

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