public void Setup() { _stockItemsService = new InMemoryStockItemsService(); _codeScanner = new CodeScanner(_stockItemsService); _pricingService = new InMemoryPricingService(); _priceCalculationRulesProvider = new PriceCalculationRulesProvider(); _priceCalculator = new PriceCalculator(_priceCalculationRulesProvider); }
public void Setup() { _sut = new InMemoryPricingService(); }