public void CreateWeatherAlerts() { IWeatherFactory weatherFactory = new WeatherFactory(_kernel); List<IWeatherAlert> alerts = weatherFactory.CreateWeatherAlerts("15217"); Assert.IsNotNull(alerts); }
public void CreateWeatherForecastList() { IWeatherFactory weatherFactory = new WeatherFactory(_kernel); List<IWeatherForecast> results = weatherFactory.CreateWeatherForecastList("15217", true); Assert.IsTrue(results.Count > 0); }
public void CreateWeather() { IWeatherFactory weatherFactory = new WeatherFactory(_kernel); IWeather alerts = weatherFactory.CreateCurrentWeather("15217", true); Assert.IsNotNull(alerts); }