public OrderbookServiceTest() { _configuration = new ConfigurationBuilder() .AddJsonFile("appsettings.json") .Build(); _httpRequestHandlerMock = new Mock <IHttpRequestHandler>(); _orderbookService = new OrderbookService(_httpRequestHandlerMock.Object, _configuration); }
public OrderbookController(IOrderbookService orderbookService, IMapper mapper) { _orderbookService = orderbookService; _mapper = mapper; }