@Test void isEnableShouldReturnTrueWhenConfigured() { int port = 1; SpamAssassinConfiguration configuration = new SpamAssassinConfiguration(Optional.of(Host.from("hostname", port))); assertThat(configuration.isEnable()).isTrue(); }
public boolean isEnable() { return host.isPresent(); }
SpamAssassinConfiguration { public boolean isEnable() { return host.isPresent(); } }
SpamAssassinConfiguration { public boolean isEnable() { return host.isPresent(); } SpamAssassinConfiguration(Optional<Host> host); }
SpamAssassinConfiguration { public boolean isEnable() { return host.isPresent(); } SpamAssassinConfiguration(Optional<Host> host); boolean isEnable(); Optional<Host> getHost(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); }
SpamAssassinConfiguration { public boolean isEnable() { return host.isPresent(); } SpamAssassinConfiguration(Optional<Host> host); boolean isEnable(); Optional<Host> getHost(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString();  }