public void PaymnentTransferenciaBradesco() { var TransferenciaBradescoData = new TransferenciaModel() { Titular = "Sou titular", Agencia = "9876", Conta = "1120", Digito = "1", }; _product.AddProductCartPay(); _cart.ConfirmPaymentCart(); _transferencia.SelectTransferencia(); _transferencia.AddAccount(); _transferencia.TransferenciaBradescoData(TransferenciaBradescoData); _transferencia.ConfirmPaymentTransferencia(); Assert.AreEqual("* Essa conta bancária já foi adicionada anteriormente.", _transferencia.MessagePaymentException()); }
public void PaymnentTransferenciaBradesco() { var TransferenciaBradescoData = new TransferenciaModel() { Titular = "Sou titular", Agencia = "9876", Conta = "1120", Digito = "1", }; _product.AddProductCartPay(); _cart.ConfirmPaymentCart(); _transferencia.SelectTransferencia(); _transferencia.TransferenciaBradescoData(TransferenciaBradescoData); _dataAccess.InputDataFirstAccess(); _transferencia.ConfirmPaymentTransferencia(); Assert.AreEqual("Pedido Recebido!", _transferencia.MessagePaymentSuccess()); }