Example #1
0
 @Test
 public void testFindWithUnexistingMail() {
   assertTrue(userDao.findByMail(UNEXISTING_MAIL) == null);
 }
Example #2
0
 @Test
 public void testFindWithExistingMail() {
   assertTrue(userDao.findByMail(EXISTING_MAIL).getName() != null);
 }