@Test
    void verifyOperation() throws Throwable {
        val ldap = casProperties.getAuthn().getGua().getLdap();
        val factory = LdapUtils.newLdaptiveConnectionFactory(ldap);
        val cn = createLdapEntry(factory);
        assertFalse(userGraphicalAuthenticationRepository.getGraphics(cn).isEmpty());
        assertTrue(userGraphicalAuthenticationRepository.getGraphics("bad-user").isEmpty());
    }
This is {@link LdapUserGraphicalAuthenticationRepositoryTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-gua/src/test/java/org/apereo/cas/gua/impl/LdapUserGraphicalAuthenticationRepositoryTests.java