private static Optional<String> getPolicyResult(final CookieGenerationContext context) {
        return DefaultCookieSameSitePolicy.INSTANCE.build(new MockHttpServletRequest(), new MockHttpServletResponse(), context);
    }
This is {@link DefaultCookieSameSitePolicyTests}.

@author Misagh Moayyed
@since 6.5.0
core/cas-server-core-cookie-api/src/test/java/org/apereo/cas/web/cookie/DefaultCookieSameSitePolicyTests.java