Ejemplo n.º 1
0
        public void Test_PayOuts_Create_BankWire()
        {
            try
            {
                PayInDTO  payIn  = this.GetJohnsPayInCardWeb();
                PayOutDTO payOut = this.GetJohnsPayOutBankWire();

                Assert.IsTrue(payOut.Id.Length > 0);
                Assert.AreEqual(payOut.PaymentType, PayOutPaymentType.BANK_WIRE);
            }
            catch (Exception ex)
            {
                Assert.Fail(ex.Message);
            }
        }
        public void Test_PayOuts_Create_BankWire()
        {
            try
            {
                PayInDTO  payIn  = TestHelper.GetJohnsPayInCardWeb();
                PayOutDTO payOut = TestHelper.GetJohnsPayOutBankWire();

                Assert.True(payOut.Id.Length > 0);
                Assert.Equal(PayOutPaymentType.BANK_WIRE, payOut.PaymentType);
            }
            catch (Exception ex)
            {
                Assert.True(false, ex.Message);
            }
        }