@Test
    public void testBlankUsersDn() {
        val ldapProfileService = new LdapProfileService(connectionFactory, authenticator, Pac4jConstants.EMPTY_STRING);
        TestsHelper.expectException(ldapProfileService::init, TechnicalException.class, "usersDn cannot be blank");
    }
Tests the {@link LdapProfileService}.

@author Jerome Leleu
@since 1.8.0
pac4j-ldap/src/test/java/org/pac4j/ldap/profile/service/LdapProfileServiceTests.java