public CheckoutSystem(IScannerListener checkoutTests, IItemRegister itemRegister, ISpecialOffers specialOffers)
 {
   _checkoutTests = checkoutTests;
   this.itemRegister = itemRegister;
   _specialOffers = specialOffers;
 }
Ejemplo n.º 2
0
 public PriceCalculator(IPrinter printer, ISpecialOffers specialOffers)
 {
     _printer       = printer;
     _specialOffers = specialOffers;
 }