public async Task GetFoodDataAsyncTest_Has_No_Data() { var service = new FloodMonitoringService(_serviceUrl, "asdfasdf"); var result = await service.GetFoodDataAsync(); Assert.IsNull(result); }
public async Task GetFoodDataAsyncTest_Has_Data() { var service = new FloodMonitoringService(_serviceUrl, _getUrl); var result = await service.GetFoodDataAsync(); Assert.IsNotNull(result); Assert.IsTrue(result.Items.Any()); }