public async Task SeriesCategoryTest() { SeriesCategory data = (await FredClient.GetSeriesForCategory("125", false)).FirstOrDefault(); Assert.IsNotNull(data); Assert.IsFalse(String.IsNullOrEmpty(data.Symbol)); Assert.IsFalse(IsZeroString(data.CategoryID)); }
public async Task GetSeriesForCategoryTest() { List <SeriesCategory> data = await FredClient.GetSeriesForCategory("125", false); Assert.IsNotNull(data); data = await FredClient.GetSeriesForCategory(DOES_NOT_EXIST, false); Assert.IsNull(data); }