Esempio n. 1
0
        public void TestGatewayAccountIdIsEqualTo()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            PaymentInstrument.GatewayAccountId = "123123";
            Assert.AreEqual("123123", PaymentInstrument.GatewayAccountId);
        }
Esempio n. 2
0
        public void TestPaymentCardIdIsEqualTo()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            PaymentInstrument.PaymentCardId = "test2";
            Assert.AreEqual("test2", PaymentInstrument.PaymentCardId);
        }
Esempio n. 3
0
        public void TestGatewayAccountIdDefaultIsEqualTo()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            Assert.IsNull(PaymentInstrument.GatewayAccountId);
        }
Esempio n. 4
0
        public void TestPaymentCardIdDefaultIsEqualTo()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            Assert.IsNull(PaymentInstrument.PaymentCardId);
        }
Esempio n. 5
0
        public void TestMethodIsEqualTo()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            Assert.AreEqual("payment-card", PaymentInstrument.Method);
        }
Esempio n. 6
0
        public void TestConstructIsInstanceOfEntity()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            Assert.IsInstanceOf <PaymentCardPaymentInstrument>(PaymentInstrument);
        }