public StockService(ILogger <StockService> logger, IStockProvider stockProvider, ICsvDataProvider csvDataProvider, IStockRespository stockRespository) { this.logger = logger; this.stockProvider = stockProvider; this.csvDataProvider = csvDataProvider; this.stockRespository = stockRespository; }
public CsvDataProviderShould() { this.mockLogger = new Mock <ILogger <CsvDataProvider> >(); this.csvDataProvider = new CsvDataProvider(this.mockLogger.Object); }