Last active
December 20, 2015 06:28
-
-
Save mmadson/6085628 to your computer and use it in GitHub Desktop.
Awesome unit test
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 | |
public void testHelloWorldServiceWithSpecialMessage_returnsTheAnswerToLife() | |
throws Exception | |
{ | |
expect().body(containsString("the answer to life the universe and everything")).when().get("/hello/42"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment