@Test
        void verifyLaunchAndResumeFlow() {
            val context = new MockExternalContext();
            context.setNativeRequest(new MockHttpServletRequest());
            context.setNativeResponse(new MockHttpServletResponse());

            val launchResult = flowExecutor.launchExecution("test-flow", new LocalAttributeMap<>(), context);
            assertNotNull(launchResult.getPausedKey());
            val key = ClientFlowExecutionKey.parse(launchResult.getPausedKey());
            assertEquals(key.toString(), launchResult.getPausedKey());
            context.setEventId("submit");
            context.getRequestMap().put("vegan", "0");
            val resumeResult = flowExecutor.resumeExecution(launchResult.getPausedKey(), context);
            assertNotNull(resumeResult.getOutcome());
            assertEquals("lasagnaDinner", resumeResult.getOutcome().getId());
        }
Test cases for {@link ClientFlowExecutionRepository}.

@author Misagh Moayyed
@since 6.1
core/cas-server-core-webflow/src/test/java/org/apereo/cas/web/flow/executor/ClientFlowExecutionRepositoryTests.java