Esempio n. 1
0
        public void Should_create_payment_information_with_defaults()
        {
            var payment = new Domain.Models.PaymentInformation();

            Assert.IsNull(payment.CreditCardNumber);
            Assert.AreEqual(Domain.Enums.CreditCardTypes.Unspecified, payment.CreditCardType);
            Assert.IsNull(payment.CreditCardVerificationNumber);
            Assert.AreNotEqual(DateTime.MinValue, payment.ExpirationDate);
            Assert.AreNotEqual(Guid.Empty, payment.Id);
        }
Esempio n. 2
0
        public void Should_create_payment_information_with_defaults()
        {
            var payment = new Domain.Models.PaymentInformation();

            Assert.IsNull(payment.CreditCardNumber);
            Assert.AreEqual(Domain.Enums.CreditCardTypes.Unspecified, payment.CreditCardType);
            Assert.IsNull(payment.CreditCardVerificationNumber);
            Assert.AreNotEqual(DateTime.MinValue, payment.ExpirationDate);
            Assert.AreNotEqual(Guid.Empty, payment.Id);
        }