public void testSaveEditSuccessful() throws Throwable {
try {
String username = "editorCoach";
Date birthdate = this._helper.setBirthdate(1982, 10, 25);
IUserProfile profile = this._helper.createUserProfile("1", "name surname", "email", birthdate, "it");
IContact contact = this._helper.createContact(profile.getId(), username, true, profile);
this._addressBookManager.addContact(contact);
String result = this.executeEdit(username, contact.getId());
assertEquals(Action.SUCCESS, result);
Map<String, Object> params = new HashMap<String, Object>();
params.put("Monotext:fullname", "nameMOD surnameMOD");
params.put("Monotext:email", "email@eeeeeeemail.it");
params.put("Date:birthdate", "10/09/1986");
params.put("Monotext:language", "langMOD");
result = this.executeSave(username, params);
assertEquals(Action.SUCCESS, result);
List<String> contactIds = this._addressBookManager.getAllowedContacts(username, null);
assertEquals(1, contactIds.size());
contact = this._addressBookManager.getContact(contactIds.get(0));
assertEquals(username, contact.getOwner());
assertEquals(true, contact.isPublicContact());
profile = contact.getContactInfo();
assertEquals("nameMOD surnameMOD", ((ITextAttribute) profile.getAttribute("fullname")).getText());
assertEquals("email@eeeeeeemail.it", ((ITextAttribute) profile.getAttribute("email")).getText());
assertEquals("10/09/1986", ((DateAttribute) profile.getAttribute("birthdate")).getFormattedDate("dd/MM/yyyy"));
assertEquals("langMOD", ((ITextAttribute) profile.getAttribute("language")).getText());
} catch (Throwable t) {