@Test public void listUsers() { }
public List<User> listUsers() { return userDao.findAll(); }
UserService { public List<User> listUsers() { return userDao.findAll(); } }
UserService { public List<User> listUsers() { return userDao.findAll(); } @Inject  UserService(UserDao userDao); }
UserService { public List<User> listUsers() { return userDao.findAll(); } @Inject  UserService(UserDao userDao); List<User> listUsers(); User createUser(User user); User getUser(String userId); User getUserByUsername(String username); User getUserByEmail(String email); void deleteUser(String userId); void updateUser(String userId, User user); void updateUserPassword(String userId, PasswordChange passwordChange); void updateUserPasswordForced(String userId, PasswordChange passwordChange); }
UserService { public List<User> listUsers() { return userDao.findAll(); } @Inject  UserService(UserDao userDao); List<User> listUsers(); User createUser(User user); User getUser(String userId); User getUserByUsername(String username); User getUserByEmail(String email); void deleteUser(String userId); void updateUser(String userId, User user); void updateUserPassword(String userId, PasswordChange passwordChange); void updateUserPasswordForced(String userId, PasswordChange passwordChange);  }