Created
July 28, 2010 16:42
-
-
Save jhollingworth/495207 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
public class When_there_are_100_bottles_of_beer_on_the_wall | |
{ | |
static Wall Wall; | |
Establish there_are = () => Wall = new Wall { NumberBottlesOfBeer = 100 }; | |
Because we_take_one_down_and_pass_it_around = () => Wall.TakeOneDownAndPassItAround(); | |
It should_only_have_99_bottles_of_beer_on_the_wall = () => Wall.NumberBottlesOfBeer.ShouldEqual(99); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment