Ejemplo n.º 1
0
        public void Withdrawal_Amount_Must_Be_Larger_Than_0()
        {
            var account = _bank.Accounts.FirstOrDefault(a => a.Id == 13003);

            try
            {
                _bank.CreateWithdrawal(account, -700.00M);
                _bank.CreateDeposit(account, 0M);
                Assert.True(true);
            }
            catch
            {
                Assert.True(false);
            }
        }