@Test
    void verifyResolution() throws Throwable {
        val context = MockRequestContext.create(applicationContext).setClientInfo();
        TestMultifactorAuthenticationProvider.registerProviderIntoApplicationContext(applicationContext);
        WebUtils.putAuthentication(RegisteredServiceTestUtils.getAuthentication(), context);
        WebUtils.putRegisteredService(context, RegisteredServiceTestUtils.getRegisteredService());
        assertEquals(TestMultifactorAuthenticationProvider.ID,
            riskAwareAuthenticationWebflowEventResolver.resolve(context).iterator().next().getId());
    }
This is {@link RiskAwareAuthenticationWebflowEventResolverTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-electrofence/src/test/java/org/apereo/cas/web/flow/RiskAwareAuthenticationWebflowEventResolverTests.java