@Test
        void verifySyncFindsNoUser() {
            assertThrows(AuthenticationException.class, () -> {
                val sync = ldapPasswordSynchronizers.first();
                val credentials = CoreAuthenticationTestUtils.getCredentialsWithDifferentUsernameAndPassword("unknown123456", "password");
                sync.process(CoreAuthenticationTestUtils.getAuthenticationBuilder(),
                    CoreAuthenticationTestUtils.getAuthenticationTransactionFactory().newTransaction(credentials));
                sync.destroy();
            });
        }
This is {@link LdapPasswordSynchronizationAuthenticationPostProcessorTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-ldap/src/test/java/org/apereo/cas/authentication/sync/LdapPasswordSynchronizationAuthenticationPostProcessorTests.java