@Test
    public void testCookieSecureStrict() {
        HttpServletResponse mockResponse = new MockHttpServletResponse();
        WebContext context = new JEEContext(request, mockResponse);
        Cookie c = new Cookie("thename","thevalue");
        c.setSameSitePolicy("strict");
        c.setSecure(true);
        context.addResponseCookie(c);
        assertEquals("thename=thevalue; Path=/; Secure; SameSite=Strict", mockResponse.getHeader("Set-Cookie"));
    }
Tests {@link JEEContext}.

@author Jerome Leleu
@since 3.0.0
pac4j-javaee/src/test/java/org/pac4j/jee/context/JEEContextTest.java