Example #1
0
        public void Contact_IsRequested_IsNotNull()
        {
            // Arrange
            var controller = new HomeController();

            // Act
            var result = controller.Contact();

            // Assert
            Assert.IsNotNull(result);
        }
Example #2
0
        public void About_IsRequested_IsNotNull()
        {
            // Arrange
            var controller = new HomeController();

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

            // Assert
            Assert.IsNotNull(result);
        }