Exemple #1
0
 @Test
 public void testUserNotExists() throws Exception {
   boolean b = dao.exists(111L);
   assertFalse(b);
 }
Exemple #2
0
 @Test
 public void testUserExists() throws Exception {
   boolean b = dao.exists(-1L);
   assertTrue(b);
 }