Esempio n. 1
0
        public void TestIndex()
        {
            var controller = new HomeController();
            var index = controller.Index();

            Assert.NotNull(index);
            Assert.True(index is IActionResult);
        }
Esempio n. 2
0
        public void TestAbout()
        {
            var controller = new HomeController();
            var about = controller.About();

            Assert.NotNull(about);
            Assert.NotNull(about);
            Assert.True(about is IActionResult);
        }