コード例 #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);
        }