예제 #1
0
        public void WeatherReport()
        {
            // Arrange
            WeatherController controller = new WeatherController();

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

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

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

            // Assert
            Assert.IsNotNull(result);
        }