assertModelAttributeValue(mav, "message", "label.restorePassword.completed");
}
@Test
public void testRestorePasswordWrongMail() throws Exception {
RestorePasswordDto dto = new RestorePasswordDto();
dto.setUserEmail(EMAIL);
BindingResult bindingResult = new BeanPropertyBindingResult(dto, "email");
bindingResult.addError(new FieldError("", "", ""));
ModelAndView mav = userController.restorePassword(dto, bindingResult);
verifyZeroInteractions(userService);
assertViewName(mav, "restorePassword");