示例#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);
 }