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