@Test public void testBuildFromPropertiesWithProgrammaticDebug() { Session session = MailSessionBuilder.fromProperties(new Properties()).debug().build(); assertNotNull(session); logCaptureResult.assertHasEvent(); List<String> logs = logCaptureResult.getCaughtEventMessages(); assertEquals(1, logs.size()); String log = logs.get(0); assertTrue(log, log.startsWith("setDebug: JavaMail version ")); }
public static FromProperties fromProperties(Properties properties) { return new FromProperties(properties); }
MailSessionBuilder { public static FromProperties fromProperties(Properties properties) { return new FromProperties(properties); } }
MailSessionBuilder { public static FromProperties fromProperties(Properties properties) { return new FromProperties(properties); }  }
MailSessionBuilder { public static FromProperties fromProperties(Properties properties) { return new FromProperties(properties); }  static FromBuilder fromNuxeoConf(); static FromJndi fromJndi(String jndiSessionName); static FromProperties fromProperties(Properties properties); }
MailSessionBuilder { public static FromProperties fromProperties(Properties properties) { return new FromProperties(properties); }  static FromBuilder fromNuxeoConf(); static FromJndi fromJndi(String jndiSessionName); static FromProperties fromProperties(Properties properties);  }