public void AddPayment(int coinValue)
        {
            if (coinValue == 5)
            {
                _numberOfFiveCents++;
            }

            if (_numberOfFiveCents > 10)
            {
                _numberOfFiveCents = 0;
                _payStation.Cancel();
                return;
            }

            _payStation.AddPayment(coinValue);
        }
 public void AddPayment(int coinValue)
 {
     Console.WriteLine("{0} : {1}", coinValue, DateTime.Now);
     _payStation.AddPayment(coinValue);
 }
 public void ShouldFailOnIllegalCoinInsert()
 {
     _ps.AddPayment(7);
 }