public async Task CurrentWeather_MadridCityCodeProvided_ShouldReturnWeather() { var provider = new CurrentWeatherProvider(); var currentMadridWeather = await provider.FindForCityCodeAsync("6359304"); Assert.IsNotNull(currentMadridWeather); }
public async Task CurrenWeather_NoCityCodeProvided_ShouldReturnNull() { var provider = new CurrentWeatherProvider(); var currentWeather = await provider.FindForCityCodeAsync(string.Empty); Assert.IsNull(currentWeather); }