@Test
    void verifyParticipationDisabled() throws Throwable {
        val mgr = mock(ServicesManager.class);
        val context = MockRequestContext.create(applicationContext);

        val sso = new SingleSignOnProperties().setSsoEnabled(false);
        val strategy = new DefaultSingleSignOnParticipationStrategy(mgr, sso,
            mock(TicketRegistrySupport.class), mock(AuthenticationServiceSelectionPlan.class));

        val ssoRequest = getSingleSignOnParticipationRequest(context);
        assertFalse(strategy.isParticipating(ssoRequest));
    }
This is {@link DefaultSingleSignOnParticipationStrategyTests}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-webflow/src/test/java/org/apereo/cas/web/flow/DefaultSingleSignOnParticipationStrategyTests.java