public async Task SourceTest() { Source data = (await FredClient.GetSources()).FirstOrDefault(); Assert.IsNotNull(data); Assert.IsFalse(String.IsNullOrEmpty(data.NativeID)); Assert.IsFalse(String.IsNullOrEmpty(data.Name)); Assert.IsFalse(String.IsNullOrEmpty(data.Link)); }
public async Task GetSourcesTest1() { List <Source> data = await FredClient.GetSources(new DateTime(2020, 1, 1), new DateTime(2020, 12, 31)); Assert.IsNotNull(data); }
public async Task GetSourcesTest() { List <Source> data = await FredClient.GetSources(); Assert.IsNotNull(data); }