}
@Test
public void testAuthenticatedSslMailSession()
{
MailSession mailSession = new MailSession();
mailSession.setUsername(USERNAME);
mailSession.setPassword(PASSWORD);
mailSession.setSsl(true);
mailSession.create();
Session session = null;
try
{
session = mailSession.getSession();
}
catch (NamingException e)
{
assert false;
// Naming exception can't occur if we aren't getting the Session from