public void ConvertModelContainsCityServiceId() { var forecast = Forecast.FromJson(jsonString); CurrentWeatherJob job = new CurrentWeatherJob(); var result = job.ConvertModel(forecast); Assert.Equal(3083271, result[0].CityServiceId); }
public void ConvertModelReturnsNonEmptyList() { var forecast = Forecast.FromJson(jsonString); CurrentWeatherJob job = new CurrentWeatherJob(); var result = job.ConvertModel(forecast); Assert.Single(result); }