@Test
        void verifyFailsForUser() throws Throwable {
            val theToken1 = createToken("casuser1");
            assertNotNull(theToken1);

            val theToken2 = createToken("casuser2");
            assertNotNull(theToken2);
            
            val token = new CasSimpleMultifactorTokenCredential(theToken1.getKey());
            ticketRegistry.deleteTicket(theToken1.getKey());
            assertThrows(MultifactorAuthenticationFailedException.class, () -> authenticationHandler.authenticate(token, mock(Service.class)));
        }
This is {@link CasSimpleMultifactorSendTokenActionTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-simple-mfa/src/test/java/org/apereo/cas/mfa/simple/web/flow/CasSimpleMultifactorSendTokenActionTests.java