@Test
    void verifyOperation() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        context.setParameter("reminder", "10");
        context.setParameter("reminderTimeUnit", ChronoUnit.DAYS.name());
        context.setParameter("option", String.valueOf(ConsentReminderOptions.ALWAYS.getValue()));

        WebUtils.putAuthentication(CoreAuthenticationTestUtils.getAuthentication(), context);
        WebUtils.putServiceIntoFlowScope(context, CoreAuthenticationTestUtils.getWebApplicationService("consentService"));
        assertEquals(CasWebflowConstants.TRANSITION_ID_SUCCESS, confirmConsentAction.execute(context).getId());
    }
This is {@link ConfirmConsentActionTests}.

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