public MachineLogic(IDrinkMakerProtocol drinkMakerProtocol, IBeverageQuantityChecker beverageQuantityChecker, IEmailNotifier emailNotifier) { this.drinkMakerProtocol = drinkMakerProtocol; this.cashier = new Cashier(); this.repository = new Repository(); this.beverageQuantityChecker = beverageQuantityChecker; this.emailNotifier = emailNotifier; }
public MachineLogic(IDrinkMakerProtocol drinkMakerProtocol) { this.drinkMakerProtocol = drinkMakerProtocol; this.cashier = new Cashier(); this.repository = new Repository(); }