Пример #1
0
        public void should_return_vicus_service_do_deposit_string()
        {
            var depositRequest = new DepositRequest()
            {
                Amount          = 988,
                PaymentMethod   = "IB",
                ServiceProvider = "Vicus"
            };
            var expect = new VicusService().DoDeposit();

            var actual = new DepositService().Deposit(depositRequest);

            Assert.AreEqual(expect, actual);
        }
Пример #2
0
        public void should_return_xpay_service_do_deposit_string()
        {
            var depositRequest = new DepositRequest()
            {
                Amount          = 988,
                PaymentMethod   = "ThaiQr",
                ServiceProvider = "XPay"
            };
            var expect = new XPayService().DoDeposit();

            var actual = new DepositService().Deposit(depositRequest);

            Assert.AreEqual(expect, actual);
        }