public void Setup() { _mockHttp = new MockHttpMessageHandler(); var client = _mockHttp.ToHttpClient(); _stockMarketAPI = new StockMarketAPI(client); }
public StockMarketData(IStockMarketAPI stockMarketApi) { _stockMarketApi = stockMarketApi; }
public void Setup() { _mockHttp = new MockHttpMessageHandler(); var client = _mockHttp.ToHttpClient(); _stockMarketAPI = new StockMarketAPI(client); }
public StockMarketData(IStockMarketAPI stockMarketApi) { _stockMarketApi = stockMarketApi; }