assertFalse(action.hasActionErrors());
}
@Test
public void testSaveConflictingUser() throws Exception {
UserManager userManager = (UserManager) applicationContext.getBean("userManager");
User user = userManager.getUserByUsername("user");
user.setPassword("user");
user.setConfirmPassword("user");
// e-mail address from existing user
User existingUser = (User) userManager.getUserByUsername("admin");
user.setEmail(existingUser.getEmail());
action.setUser(user);
action.setFrom("list");
Integer originalVersionNumber = user.getVersion();