Created
January 30, 2012 19:30
-
-
Save dotnetchris/1706161 to your computer and use it in GitHub Desktop.
MSpec verification
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
static bool DoSomethingCompleted = false; | |
Establish context = () => | |
{ | |
The<IThing>() | |
.WhenToldTo(x => x.DoSomething()) | |
.Return(()=> { DoSomethingCompleted = true; return 5; }); | |
}; |
agross
commented
Jan 31, 2012
Thanks, I always keep forgetting that The<> is some kind of container that it's not just a specific instance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment