private static void createUserTest() { User user = new User(); user.setLogin("elouefnijamila"); user.setPassword("123"); user.setNameUser("Jamila"); user.setFirstNameUser("El Ouefni"); userManagementServiceRemote.createUser(user); }
private static void updateUserTest() { User user = userManagementServiceRemote.findUserById(1L); user.setRoleUser(userManagementServiceRemote.findRoleById(3L)); userManagementServiceRemote.updateUser(user); }