示例#1
0
        public void TestGatewayAccountIdIsEqualTo()
        {
            var PaymentInstrument = new PayPalPaymentInstrument();

            PaymentInstrument.GatewayAccountId = "123123";
            Assert.AreEqual("123123", PaymentInstrument.GatewayAccountId);
        }
示例#2
0
        public void TestPayPalAccountIdIsEqualTo()
        {
            var PaymentInstrument = new PayPalPaymentInstrument();

            PaymentInstrument.PayPalAccountId = "test2";
            Assert.AreEqual("test2", PaymentInstrument.PayPalAccountId);
        }
示例#3
0
        public void TestGatewayAccountIdDefaultIsEqualTo()
        {
            var PaymentInstrument = new PayPalPaymentInstrument();

            Assert.IsNull(PaymentInstrument.GatewayAccountId);
        }
示例#4
0
        public void TestMethodIsEqualTo()
        {
            var PaymentInstrument = new PayPalPaymentInstrument();

            Assert.AreEqual("pay-pal", PaymentInstrument.Method);
        }
示例#5
0
        public void TestConstructIsInstanceOfEntity()
        {
            var PaymentInstrument = new PayPalPaymentInstrument();

            Assert.IsInstanceOf <PayPalPaymentInstrument>(PaymentInstrument);
        }