@Bean
        public FlowDefinitionRegistry flowRegistry(final ConfigurableApplicationContext applicationContext) {
            val flowServicesBuilder = new FlowBuilderServicesBuilder();
            flowServicesBuilder.setViewFactoryCreator(new CasMockViewFactoryCreator());
            flowServicesBuilder.setExpressionParser(new WebFlowSpringELExpressionParser(new SpelExpressionParser()));
            val flowBuilder = flowServicesBuilder.build();

            val builder = new FlowDefinitionRegistryBuilder(applicationContext, flowBuilder);
            builder.setBasePath("classpath:");
            builder.addFlowLocationPattern("/test/*-flow.xml");
            return builder.build();
        }
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