@Test public void failLogin() throws UserException { userService.addUser("joel", "password"); assertFalse(userService.checkLogin("joel", "joel")); }
@Test public void succesfulLogin() throws UserException { userService.addUser("joris", "password"); assertTrue(userService.checkLogin("joris", "password")); }