public void GetNewsForSingleCompany() { string symbol = "AAPL"; var iex = new IEXClient(); var news = iex.GetNews(symbol); Assert.NotNull(news); Assert.NotEmpty(news); }
public void GetLastOneNewsFoirSingleCompany() { string symbol = "AAPL"; var iex = new IEXClient(); var news = iex.GetNews(symbol, last: 1); Assert.NotNull(news); Assert.Single(news); }