@Test
public void testFormatForUrlEmpty() throws InvalidNameException {

    LdapName ldapName = new LdapName("");
    String result = AbstractContextSource.formatForUrl(ldapName);
    assertThat(result).isEqualTo("");
}