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

            WebUtils.putAuthentication(CoreAuthenticationTestUtils.getAuthentication(), context);
            val registeredService = RegisteredServiceTestUtils.getRegisteredService();
            registeredService.setWebflowInterruptPolicy(new DefaultRegisteredServiceWebflowInterruptPolicy().setForceExecution(TriStateBoolean.TRUE));
            WebUtils.putRegisteredService(context, registeredService);

            WebUtils.putServiceIntoFlowScope(context, CoreAuthenticationTestUtils.getWebApplicationService());
            WebUtils.putCredential(context, CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword());

            var event = action.execute(context);
            assertNotNull(event);
            assertNotNull(InterruptUtils.getInterruptFrom(context));
            assertNotNull(WebUtils.getPrincipalFromRequestContext(context));
            assertEquals(CasWebflowConstants.TRANSITION_ID_INTERRUPT_REQUIRED, event.getId());

            event = action.execute(context);
            assertNotNull(InterruptUtils.getInterruptFrom(context));
            assertNotNull(WebUtils.getPrincipalFromRequestContext(context));
            assertEquals(CasWebflowConstants.TRANSITION_ID_INTERRUPT_REQUIRED, event.getId());
        }
This is {@link InquireInterruptActionTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-interrupt-webflow/src/test/java/org/apereo/cas/interrupt/webflow/actions/InquireInterruptActionTests.java