connection.setProxyCredentials(conf.getProxyCredentials());
}
client.setConnection(connection);
log.debug("Starting to move message #1 from " +
ImapGmailLabel.SENT_MAIL.getName());
client.moveTo(ImapGmailLabel.INBOX, 1);
log.debug("Finished moving message #1 to " +
ImapGmailLabel.INBOX.getName());
} catch (final Exception e) {
log.error("Test Failed", e);
fail("Caught exception: " + e.getMessage());