public void the_Account_balance_should_decrease() { var account = new Account(100); account.Withdraw(30); Assert.AreEqual(70, account.Balance); }
public void the_Account_should_be_charged_a_flat_fee_if_goes_negative() { var account = new Account(100); account.Withdraw(130); Assert.AreEqual(-55, account.Balance); }
public void the_Account_should_not_be_charged_a_flat_fee_if_goes_negative_with_Sullis_snazzy_overdraft_protection() { var account = new Account(100); account.Withdraw(130); Assert.AreEqual(-55, account.Balance); }