Пример #1
0
        public void Index()
        {
            // Arrange
            var controller = new HomeController();

            // Act
            var result = controller.Index() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }
Пример #2
0
        public void Contact()
        {
            // Arrange
            var controller = new HomeController();

            // Act
            var result = controller.KnockoutNotifications() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }