public void Setup()
        {
            transactionScope = new TransactionScope();

            var paymentDAO = new EFPaymentDAO();
            var paymentProcessor = new CoinPaymentProcessor(paymentDAO);
            vendingMachine = new VendingMachine(paymentProcessor);
        }
        public void Setup()
        {
            transactionScope = new TransactionScope();

            var paymentDAO = new ADOPaymentDAO();
            var paymentProcessor = new CoinPaymentProcessor(paymentDAO);
            var vendingMachine = new VendingMachine(paymentProcessor);
            controller = new HomeController(vendingMachine);
        }
 public void Setup()
 {
     paymentProcessor = new Mock<IPaymentProcessor>();
     vendingMachine = new VendingMachine(paymentProcessor.Object);
 }