@Test
    void verifyOperationServiceDisabled() throws Throwable {
        val context = MockRequestContext.create();
        WebUtils.putAuthentication(CoreAuthenticationTestUtils.getAuthentication(), context);
        val registeredService = getRegisteredServiceWithConsentStatus(TriStateBoolean.FALSE);
        WebUtils.putServiceIntoFlowScope(context, CoreAuthenticationTestUtils.getWebApplicationService(registeredService.getServiceId()));
        assertNull(checkConsentRequiredAction.execute(context));
    }
This is {@link CheckConsentRequiredActionTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-consent-webflow/src/test/java/org/apereo/cas/web/flow/CheckConsentRequiredActionTests.java