| String subject = "Test Subject"; | ||
| - Session session = createSession(); | ||
| + Session session = Session.getInstance( new Properties() ); | ||
| HttpTransport transport = new ElasticEmailTransport( session, null ); | ||
| transport.setAuthentication( USERNAME.toString(), PASSWORD.toString() ); | ||
| Assert.fail( e.getMessage() ); | ||
| } | ||
| - } | ||
| - | ||
| - private Session createSession() { | ||
| - return Session.getInstance( createProperties() ); | ||
| - } | ||
| - | ||
| - private Properties createProperties() { | ||
| - return new Properties(); | ||
| } | ||
| } | ||
| Author | djarvis <email> |
|---|---|
| Date | 2016-06-04 20:20:58 GMT-0700 |
| Commit | b6100ca86bebecb9ffe92aea2be502274c3854c3 |
| Parent | 1ffa519 |
| Delta | 1 line added, 9 lines removed, 8-line decrease |