@Test
    void verifyOperationNeedsMfa() throws Throwable {
        val event = resolver.resolve(context);
        assertEquals(1, event.size());
        assertEquals(TestMultifactorAuthenticationProvider.ID, event.iterator().next().getId());
    }
This is {@link TimedMultifactorAuthenticationPolicyEventResolverTests}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-webflow-mfa/src/test/java/org/apereo/cas/TimedMultifactorAuthenticationPolicyEventResolverTests.java