Example #1
0
        public virtual void GetWeatherAsync_ReturnsGoodValues()
        {
            // Arrange
            using (IWeather target = this.GetWeather())
            {
                // Act
                WeatherData result = target.GetWeatherAsync().Result;

                // Assert
                result.Humidity.Should().NotBe(0);
                result.Temperature.Should().NotBe(0);
            }
        }