コード例 #1
0
        public void TestGatewayAccountIdIsEqualTo()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            PaymentInstrument.GatewayAccountId = "123123";
            Assert.AreEqual("123123", PaymentInstrument.GatewayAccountId);
        }
コード例 #2
0
        public void TestPaymentCardIdIsEqualTo()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            PaymentInstrument.PaymentCardId = "test2";
            Assert.AreEqual("test2", PaymentInstrument.PaymentCardId);
        }
コード例 #3
0
        public void TestGatewayAccountIdDefaultIsEqualTo()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            Assert.IsNull(PaymentInstrument.GatewayAccountId);
        }
コード例 #4
0
        public void TestPaymentCardIdDefaultIsEqualTo()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            Assert.IsNull(PaymentInstrument.PaymentCardId);
        }
コード例 #5
0
        public void TestMethodIsEqualTo()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            Assert.AreEqual("payment-card", PaymentInstrument.Method);
        }
コード例 #6
0
        public void TestConstructIsInstanceOfEntity()
        {
            var PaymentInstrument = new PaymentCardPaymentInstrument();

            Assert.IsInstanceOf <PaymentCardPaymentInstrument>(PaymentInstrument);
        }