Пример #1
0
        public void Can_Create_Deposit()
        {
            var account = _bank.Accounts.FirstOrDefault(a => a.Id == 13003);

            _bank.CreateDeposit(account, 700.00M);

            var result = _bank.Accounts.FirstOrDefault(a => a.Id == account.Id);

            Assert.Equal(1000.00M, result.Balance);
        }