*/
@Test
public void testSave() {
// test update
ModelMap model = new ModelMap();
User currUser = getTestUser();
currUser.setUserName("new name");
userController.save(currUser, currUser, model);
userController.getOne(currUser.getUserId(), model);
User user = (User) model.get("user");
assertThat(user.getUserName(), is("new name"));
assertThat(user.getPassword(), is(currUser.getPassword()));
User admin = getAdminUser();
User temp = new User("temp1", "temp1", "temp1", "temp@nhn.com", Role.USER);
userController.save(admin, temp, model);
temp = new User("temp2", "temp2", "temp2", "temp@nhn.com", Role.USER);
userController.save(admin, temp, model);
model.clear();
currUser.setFollowersStr("temp1, temp2");
userController.save(currUser, currUser, model);
userController.getOne(currUser.getUserId(), model);