Skip to content

Instantly share code, notes, and snippets.

@finnjohnsen
Created December 10, 2012 16:38
Show Gist options
  • Save finnjohnsen/4251680 to your computer and use it in GitHub Desktop.
Save finnjohnsen/4251680 to your computer and use it in GitHub Desktop.
Groovy sample
@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