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

            val issuer = UUID.randomUUID().toString();
            val authnRequest = getAuthnRequestFor(issuer);
            when(authnRequest.isForceAuthn()).thenReturn(Boolean.TRUE);
            val ssoRequest = SingleSignOnParticipationRequest.builder()
                .httpServletRequest(context.getHttpServletRequest())
                .httpServletResponse(context.getHttpServletResponse())
                .requestContext(context)
                .build()
                .attribute(AuthnRequest.class.getName(), authnRequest)
                .attribute(Issuer.class.getName(), issuer);
            assertTrue(samlIdPSingleSignOnParticipationStrategy.supports(ssoRequest));
            assertFalse(samlIdPSingleSignOnParticipationStrategy.isParticipating(ssoRequest));
        }
This is {@link SamlIdPSingleSignOnParticipationStrategyTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/web/SamlIdPSingleSignOnParticipationStrategyTests.java