@Test
    void verifyFilterByIndex() {
        val filter = LdapUtils.newLdaptiveSearchFilter("cn={0}", List.of("casuser"));
        assertTrue(filter.getParameters().containsKey("0"));
        assertTrue(filter.getParameters().containsValue("casuser"));
    }
This is {@link LdapUtilsTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-ldap-core/src/test/java/org/apereo/cas/LdapUtilsTests.java