@Test
    void verifySkipNoSsoServices() throws Throwable {
        val service = RegisteredServiceTestUtils.getRegisteredService("^https://app1.com.+");
        getServicesManager().save(service);
        WebUtils.putServiceIntoFlowScope(this.requestContext, RegisteredServiceTestUtils.getService("https://app1.com/"));

        val tgt = new MockTicketGrantingTicket("casuser");
        when(ticketRegistrySupport.getTicketGrantingTicket(anyString())).thenReturn(tgt);
        requestContext.setHttpRequestCookies(new Cookie(casProperties.getTgc().getName(), tgt.getId()));

        val result = verifyRequiredServiceAction.execute(this.requestContext);
        assertEquals(CasWebflowConstants.TRANSITION_ID_SUCCESS, result.getId());
    }
This is {@link VerifyRequiredServiceActionTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-actions/src/test/java/org/apereo/cas/web/flow/VerifyRequiredServiceActionTests.java