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