@BeforeEach
    void setup() {
        val cookieValueManager = new NoOpCookieValueManager(tenantExtractor);
        
        ticketRegistry.deleteAll();

        val cookie = casProperties.getAuthn().getPac4j().getCore().getSessionReplication().getCookie();
        cookie.setName("DISSESSIONxxx");
        this.cookieGenerator = CookieUtils.buildCookieRetrievingGenerator(cookie, cookieValueManager);

        this.request = new MockHttpServletRequest();
        this.response = new MockHttpServletResponse();

        this.sessionStore = new TicketRegistrySessionStore(ticketRegistry, ticketFactory, cookieGenerator);
        this.webContext = new JEEContext(request, response);
    }
This is {@link TicketRegistrySessionStoreTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-pac4j-api/src/test/java/org/apereo/cas/integration/pac4j/TicketRegistrySessionStoreTests.java