Beispiel #1
0
        public static void DepositIsInRepositoryTest()
        {
            Deposit        deposit  = _depositRepository.CreateDeposit(_client, _accountDeposit);
            List <Deposit> deposits = _depositRepository.GetAllDeposits();

            Assert.That(deposits, Has.Member(deposit));
        }
Beispiel #2
0
        public void OpenDeposit(Client client, int termMonth, Account accCard, float depositSum)
        {
            Account accDeposit = AccountRepository.AddDepositAccount(client);

            DepositRepository.CreateDeposit(client, accDeposit, termMonth);
            AccountRepository.TransferMoney(accCard, accDeposit, depositSum);
        }