Last active
December 24, 2017 06:50
-
-
Save Adrianvdh/ee330b5e62f922a8fbc293325c361c06 to your computer and use it in GitHub Desktop.
Tdd examples from http://scholarcoder.com/1392/ttd-intro
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(expected = RuntimeException.class) | |
public void userLoginWhereUserIsNotFound() { | |
String username = "kentbeck"; | |
String password = "letmein"; | |
UserService userService = new UserService(); | |
User user = userService.authenticate(username, password); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment