@Test
        void verifyLaunchAndResumeFlow() {
            val context = new MockExternalContext();
            val request = new MockHttpServletRequest();
            request.setRemoteAddr("223.456.789.100");
            request.setLocalAddr("223.456.789.100");
            request.addHeader(HttpHeaders.USER_AGENT, "test");
            request.setContextPath("/tenants/webflow/login");

            ClientInfoHolder.setClientInfo(ClientInfo.from(request));

            context.setNativeRequest(request);
            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());
        }
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