@Test
    void verifyGetBoolean() {
        val entry = new LdapEntry();
        entry.addAttributes(new LdapAttribute("attr1", "true"));
        entry.addAttributes(new LdapAttribute("attr2", StringUtils.EMPTY));
        var input = LdapUtils.getBoolean(entry, "attr1", Boolean.TRUE);
        assertTrue(input);

        input = LdapUtils.getBoolean(entry, "attr2", Boolean.TRUE);
        assertTrue(input);
    }
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