public void GetHistoricalIndexDataTest_SymbolDeserializeTest() { ApiRequest.Debug = true; var stock = FinancialData.GetHistoricalIndexData("AAPL").Result; Assert.AreEqual("AAPL", stock[0].symbol); ApiRequest.Debug = false; }
public void GetHistoricalIndexDataTest_PriceDeserializeTest() { ApiRequest.Debug = true; var stock = FinancialData.GetHistoricalIndexData("AAPL").Result; Assert.AreEqual(4, stock.Count); ApiRequest.Debug = false; }