@Test
    void verifyOperation() throws Throwable {
        val trigger = getMultifactorAuthenticationTrigger();
        val strategy = new DefaultMultifactorAuthenticationTriggerSelectionStrategy(List.of(trigger));
        val result = strategy.resolve(new MockHttpServletRequest(),
            new MockHttpServletResponse(),
            MultifactorAuthenticationTestUtils.getRegisteredService(),
            MultifactorAuthenticationTestUtils.getAuthentication("casuser"),
            MultifactorAuthenticationTestUtils.getService("https://www.example.org"));
        assertTrue(result.isPresent());
    }
This is {@link DefaultMultifactorAuthenticationTriggerSelectionStrategyTests}.

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