public static void SetUp() { _accountRepository = new AccountRepository(); Client client = ClientsRepository.CreateNewClient("test"); _accountCard = _accountRepository.AddCardAccount(client); _accountCard.Balance = startBalanceCardAccount; _accountDeposit = _accountRepository.AddDepositAccount(client); _accountInterest = _accountRepository.AddInterestAccount(client); }
public static void InterestAccountIsDeposit() { Account account = _accountRepository.AddInterestAccount(_client); Assert.AreEqual(account.TypeAccount, TypeAccount.Interest); }