private static CookieGenerationContext getCookieGenerationContext(final String path) {
        return CookieUtils.buildCookieGenerationContext(new CookieProperties()
            .setName("cas")
            .setPath(path)
            .setMaxAge("1000")
            .setDomain("example.org")
            .setSecure(true)
            .setHttpOnly(true));
    }
This is {@link CookieRetrievingCookieGeneratorTests}.

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