Last active
January 3, 2018 05:06
-
-
Save adrianvdh/3b133a041782c666ff02a52bc8561010 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 | |
public void testFindByUsername() { | |
String username = "adrianvdh"; | |
UserRepository userRepository = new UserRepositoryImpl(); | |
User user = userRepository.findByUsername(username); | |
Assert.assertEquals("adrianvdh", user.username); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment