connection.setProxy(conf.getProxyHost(), conf.getProxyPort());
connection.setProxyCredentials(conf.getProxyCredentials());
}
client.setConnection(connection);
log.debug("Starting to mark message as unread.");
client.markAsUnread(1);
log.debug("Finished marking message as unread.");
} catch (final Exception e) {
log.error("Test Failed", e);
fail("Caught exception: " + e.getMessage());
} finally {