@Test
    void verifyOperation() {
        assertFalse(casWebflowExecutionPlan.getWebflowConfigurers().isEmpty());
        val flow = (Flow) flowDefinitionRegistry.getFlowDefinition(CasWebflowConfigurer.FLOW_ID_LOGIN);
        assertNotNull(flow);
        var state = (TransitionableState) flow.getState(CasWebflowConstants.STATE_ID_SEND_TICKET_GRANTING_TICKET);
        assertTrue(Arrays.stream(state.getExitActionList().toArray())
            .anyMatch(ac -> ac.toString().contains(CasWebflowConstants.ACTION_ID_GOOGLE_ANALYTICS_CREATE_COOKIE)));

        val logoutFlow = (Flow) flowDefinitionRegistry.getFlowDefinition(CasWebflowConfigurer.FLOW_ID_LOGOUT);
        state = (TransitionableState) logoutFlow.getState(CasWebflowConstants.STATE_ID_TERMINATE_SESSION);
        assertTrue(Arrays.stream(state.getExitActionList().toArray())
            .anyMatch(ac -> ac.toString().contains(CasWebflowConstants.ACTION_ID_GOOGLE_ANALYTICS_REMOVE_COOKIE)));
    }
This is {@link CasGoogleAnalyticsWebflowConfigurerTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-google-analytics/src/test/java/org/apereo/cas/web/flow/CasGoogleAnalyticsWebflowConfigurerTests.java