@Test
    void verifyTenantCookiePath() {
        val request = new MockHttpServletRequest();
        request.setRemoteAddr("185.86.151.12");
        request.setLocalAddr("185.88.151.11");
        request.addHeader(HttpHeaders.USER_AGENT, "firefox");
        request.setContextPath("/cas/tenants/b9584c42/login");
        val response = new MockHttpServletResponse();
        val cookie = ticketGrantingTicketCookieGenerator.addCookie(request, response, "TGT-123456");
        assertNotNull(cookie);
        assertEquals("/cas/tenants/b9584c42", cookie.getPath());
    }
This is {@link CookieRetrievingCookieGeneratorMultitenancyTests}.

@author Misagh Moayyed
@since 6.0.0
core/cas-server-core-multitenancy/src/test/java/org/apereo/cas/web/support/CookieRetrievingCookieGeneratorMultitenancyTests.java