@Test
    void verifyMissingProviderEvent() throws Throwable {
        val context = MockRequestContext.create();

        assertNotNull(MultifactorAuthenticationUtils.evaluateEventForProviderInContext(
            MultifactorAuthenticationTestUtils.getPrincipal("casuser"),
            MultifactorAuthenticationTestUtils.getRegisteredService(),
            MultifactorAuthenticationTestUtils.getService("service"),
            Optional.of(context),
            null));
    }
This is {@link MultifactorAuthenticationUtilsTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-authentication-mfa-api/src/test/java/org/apereo/cas/authentication/mfa/MultifactorAuthenticationUtilsTests.java