5455565758596061626364
} } @Test public void findByNonExistingName() { UserDao dao = registry.getService(UserDao.class); User user = dao.findByName("igor"); assertNull(user); }
6465666768697071727374
} @Test public void findByName() { UserDao dao = registry.getService(UserDao.class); User user = dao.findByName("root"); assertNotNull(user); }