예제 #1
0
        public void DetokenizePaymentMethod()
        {
            var tokenizedCard = new CreditCardData {
                Token = _token,
            };

            var response = tokenizedCard.Detokenize();

            Assert.IsNotNull(response);
            Assert.AreEqual(_card.Number, response.Number);
            Assert.AreEqual(_card.ShortExpiry, response.ShortExpiry);
        }