Created
July 4, 2011 15:03
-
-
Save ashic/1063445 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class when_withdrawing_money_from_empty_account | |
{ | |
Establish context = ()=> depositor = new Depositor(13); | |
Because of = ()=> depositor.Withdraw(50.0m); | |
It should_decrease_balance = ()=> depositor.Balance.ShouldBeGreaterThan(0.01m); | |
It should_have_account_open = ()=> depositor.AccountIsOpen.ShouldBeTrue(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment