@Test
        void verifyProvider() throws Throwable {
            val request = new MockHttpServletRequest();
            request.setContextPath("/tenants/shire/login");
            val result = globalMultifactorAuthenticationTrigger.isActivated(
                CoreAuthenticationTestUtils.getAuthentication(), CoreAuthenticationTestUtils.getRegisteredService(),
                request, new MockHttpServletResponse(), CoreAuthenticationTestUtils.getService());
            assertTrue(result.isPresent());
        }
This is {@link GlobalMultifactorAuthenticationTriggerTests}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-authentication-mfa/src/test/java/org/apereo/cas/authentication/mfa/trigger/GlobalMultifactorAuthenticationTriggerTests.java