@Test public void testGet() { final Host host = new Host(new TestProtocol()); final Credentials credentials = host.getCredentials(); assertSame(credentials, CredentialsConfiguratorFactory.get(new TestProtocol()).configure(host)); }
public static CredentialsConfigurator get(final Protocol protocol) { return protocol.getCredentialsFinder(); }
CredentialsConfiguratorFactory { public static CredentialsConfigurator get(final Protocol protocol) { return protocol.getCredentialsFinder(); } }
CredentialsConfiguratorFactory { public static CredentialsConfigurator get(final Protocol protocol) { return protocol.getCredentialsFinder(); } private  CredentialsConfiguratorFactory(); }
CredentialsConfiguratorFactory { public static CredentialsConfigurator get(final Protocol protocol) { return protocol.getCredentialsFinder(); } private  CredentialsConfiguratorFactory(); static CredentialsConfigurator get(final Protocol protocol); }
CredentialsConfiguratorFactory { public static CredentialsConfigurator get(final Protocol protocol) { return protocol.getCredentialsFinder(); } private  CredentialsConfiguratorFactory(); static CredentialsConfigurator get(final Protocol protocol);  }