コード例 #1
0
        public void About()
        {
            // Arrange
            ProductController controller = new ProductController();

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

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