@Test
    public void testGetProviderURLTwoHosts() throws Exception
    {
        // Setup fixture.
        final Map<String, String> properties = new HashMap<>();
        properties.put("ldap.host", "localhost example.org");
        properties.put("ldap.port", "389");
        final LdapManager manager = new LdapManager( properties );
        final LdapName name = new LdapName("ou=people,dc=example,dc=org");

        // Execute system under test.
        final String result = manager.getProviderURL( name );

        // Verify result.
        assertEquals("ldaps://localhost:389/ou=people,dc=example,dc=org ldaps://example.org:389/ou=people,dc=example,dc=org", result);
    }
Test if {@link LdapManager#getProviderURL(LdapName)} generates a whitespace-separated value of URLs when
more than one connect-host is being provided.
xmppserver/src/test/java/org/jivesoftware/openfire/ldap/LdapManagerTest.java