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()
        {
            transactionScope = new TransactionScope();

            product = null;
            var paymentDAO = new ADOPaymentDAO();
            var paymentProcessor = new CoinPaymentProcessor(paymentDAO);
            vendingMachine = new VendingMachine(paymentProcessor);

            ResetDBBalance();
        }
 public void SetUp()
 {
     paymentDAO = new Mock<IPaymentDAO>();
     paymentProcessor = new CoinPaymentProcessor(paymentDAO.Object);
 }