@Test
    void verifyFailsToFindToken() {
        val id = UUID.randomUUID().toString();
        val credential = new CasSimpleMultifactorTokenCredential(id);
        assertThrows(MultifactorAuthenticationFailedException.class,
            () -> casSimpleMultifactorAuthenticationHandler.authenticate(credential, mock(Service.class)));
    }
This is {@link CasSimpleMultifactorAuthenticationHandlerTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-simple-mfa/src/test/java/org/apereo/cas/mfa/simple/CasSimpleMultifactorAuthenticationHandlerTests.java