@Test
    void verifyAccountExpiredByDate() {
        val handler = new ActiveDirectoryLdapEntryHandler();
        val expiration = new Date().getTime();
        val entry = LdapEntry.builder()
            .attributes(LdapAttribute.builder().name("accountExpires")
                .values(String.valueOf(expiration))
                .build())
            .build();
        assertNull(handler.apply(entry));
    }
This is {@link ActiveDirectoryLdapEntryHandlerTests}.

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