@Test @WithFrameworkProperty(name = CONFIGURATION_MAIL_DEBUG, value = "true") public void testBuildFromPropertiesWithFrameworkDebug() { Session session = MailSessionBuilder.fromProperties(new Properties()).build(); assertNotNull(session); logCaptureResult.assertHasEvent(); List<String> logs = logCaptureResult.getCaughtEventMessages(); 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);  }