Esempio n. 1
0
        public void WeatherReport()
        {
            // Arrange
            WeatherController controller = new WeatherController();

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

            // Assert
            Assert.IsNotNull(result);
        }
Esempio n. 2
0
        public void ErrorPage()
        {
            // Arrange
            WeatherController controller = new WeatherController();

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

            // Assert
            Assert.IsNotNull(result);
        }