Exemplo n.º 1
0
        public VendingMachine(IMoneyAcceptor acceptor)
        {
            _drinkPriceSpecification = new DrinkPriceSpecification();

            _drinkStock   = new DrinkStocker();
            _moneyStocker = new MoneyStocker(acceptor);
        }
Exemplo n.º 2
0
        public VendingMachine(IMoneyAcceptor acceptor)
        {
            _drinkPriceSpecification = new DrinkPriceSpecification();

            _drinkStock = new DrinkStocker();
            _moneyStocker = new MoneyStocker(acceptor);
        }