@Test
    void verifyClient() throws Throwable {
        val context = MockRequestContext.create(applicationContext).withUserAgent().setClientInfo();
        context.setParameter(Pac4jConstants.DEFAULT_CLIENT_NAME_PARAMETER, "CasClient");
        val result = delegatedAuthenticationStoreWebflowAction.execute(context);
        assertEquals(CasWebflowConstants.TRANSITION_ID_REDIRECT, result.getId());
        val ticket = context.getFlowScope().get(TransientSessionTicket.class.getName(), TransientSessionTicket.class);
        assertNotNull(ticket);
        assertNotNull(ticket.getProperty(Client.class.getName(), String.class));
    }
This is {@link DelegatedClientAuthenticationStoreWebflowStateActionTests}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-pac4j-webflow/src/test/java/org/apereo/cas/web/flow/actions/DelegatedClientAuthenticationStoreWebflowStateActionTests.java