public void testSaveSenderSuccessful() throws Throwable {
String currentUser = "admin";
try {
String result = this.executeSaveSender(currentUser, "CODE1", "\"Indirizzo di Prova\" <mail@addresstest.it>", ApsAdminSystemConstants.EDIT);
assertEquals(Action.SUCCESS, result);
MailConfig config = this._mailManager.getMailConfig();
assertNotNull(config.getSender("CODE1"));
assertEquals("\"Indirizzo di Prova\" <mail@addresstest.it>", config.getSender("CODE1"));
} catch (Throwable t) {
throw t;
} finally {
this._helper.resetConfig();
}