Exemplo n.º 1
0
        public async Task PropertiesAfterMakeDepositPaymentTransaction(double d)
        {
            //Aramge
            decimal   depositAmount = (decimal)d;
            WalletDTO wallet        = await ArrangeWallet();

            //Act
            DepositPaymentTransactionDTO depositPaymentTransactionDTO = await _paymentTransactionService.MakeDepositPaymentTransaction("2108996781057", wallet.Password, depositAmount);

            //Assert
            Assert.AreEqual(depositPaymentTransactionDTO.Amount, depositAmount);
            Assert.AreEqual(depositPaymentTransactionDTO.Type, PaymentTransactionType.DEPOSIT);
            Assert.AreEqual(depositPaymentTransactionDTO.WalletId, wallet.Id);
        }
Exemplo n.º 2
0
 public DepositPaymentTransactionVM(DepositPaymentTransactionDTO paymentTransaction) : base(paymentTransaction)
 {
 }