Created
December 10, 2012 16:38
-
-
Save finnjohnsen/4251680 to your computer and use it in GitHub Desktop.
Groovy sample
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
@Test | |
void "should be able to find follow up status"() { | |
//setup: | |
prepareMock() | |
//given | |
StatusInstance existing = insertStatusInstance() | |
//when | |
StatusCode followup = service.findFollowupStatus(existing.id.toString()) | |
//then | |
assert followup != null | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment