Created
May 7, 2010 12:27
-
-
Save jhollingworth/393348 to your computer and use it in GitHub Desktop.
This file contains 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
class EmailSenderContext | |
{ | |
protected static void email_was_sent() | |
{ | |
SmailSender.SendEmail(); | |
} | |
} | |
class When_an_email_is_sent : EmailSenderContext | |
{ | |
Because the = email_was_sent; | |
It should_have_sent_the_email; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment