public void BasicTestService3()
        {
            BankService.Service.BankService bankService = new BankService.Service.BankService();
            bankService.AddNewAccount("name", "surname", CardType.Basic);
            var bankAccount = bankService.GetBankAccount("1");

            bankService.AddFundsToAccount(bankAccount.GetSerialNumber(), 10);
            Assert.IsTrue(bankAccount.Funds > 0);
        }
Exemple #2
0
 public static void Main(string[] args)
 {
     BankService.Service.BankService bankService = new BankService.Service.BankService();
     bankService.AddNewAccount("name", "surname", CardType.Basic);
     var smth = bankService.GetBankAccount("1");
 }
 public void BasicServiceTest1()
 {
     BankService.Service.BankService bankService = new BankService.Service.BankService();
     bankService.AddNewAccount("name", "surname", CardType.Basic);
     Assert.IsNotNull(bankService.GetBankAccount("1"));
 }