@Test public void isEnableShouldReturnTrueWhenEnable() { SpamAssassinConfiguration configuration = SpamAssassinConfigurationLoader.fromProperties(new PropertiesConfiguration()); assertThat(configuration.isEnable()).isTrue(); }
public static SpamAssassinConfiguration fromProperties(Configuration configuration) { Host host = getHost(configuration); return new SpamAssassinConfiguration(Optional.of(host)); }
SpamAssassinConfigurationLoader { public static SpamAssassinConfiguration fromProperties(Configuration configuration) { Host host = getHost(configuration); return new SpamAssassinConfiguration(Optional.of(host)); } }
SpamAssassinConfigurationLoader { public static SpamAssassinConfiguration fromProperties(Configuration configuration) { Host host = getHost(configuration); return new SpamAssassinConfiguration(Optional.of(host)); }  }
SpamAssassinConfigurationLoader { public static SpamAssassinConfiguration fromProperties(Configuration configuration) { Host host = getHost(configuration); return new SpamAssassinConfiguration(Optional.of(host)); }  static SpamAssassinConfiguration disable(); static SpamAssassinConfiguration fromProperties(Configuration configuration); }
SpamAssassinConfigurationLoader { public static SpamAssassinConfiguration fromProperties(Configuration configuration) { Host host = getHost(configuration); return new SpamAssassinConfiguration(Optional.of(host)); }  static SpamAssassinConfiguration disable(); static SpamAssassinConfiguration fromProperties(Configuration configuration); static final String DEFAULT_HOST; static final int DEFAULT_PORT; }