public void PaymentIsAmount(eMoney money)
        {
            Payment payment = new Payment();

            payment.AddCredit(money);
            Assert.AreEqual(payment.Credit, payment.Money[money]);
        }
        public void DebitIsSuccessful()
        {
            Payment payment = new Payment();

            payment.AddCredit(eMoney.eOneDollar);
            Assert.AreEqual(payment.Credit, 1);
            payment.Debit(1);
            Assert.AreEqual(payment.Credit, 0);
        }
        public void PaymentAllIsCorrect()
        {
            Payment payment = new Payment();
            decimal amount  = 0;

            foreach (var money in payment.Money)
            {
                amount += money.Value;
                payment.AddCredit(money.Key);
            }

            Assert.AreEqual(payment.Credit, amount);
        }