@Before
    public void setUp() throws IOException {
        response = mock(HttpServletResponse.class);
        writer = mock(PrintWriter.class);
        when(response.getWriter()).thenReturn(writer);
        context = mock(JEEContext.class);
        when(context.getNativeResponse()).thenReturn(response);
    }
Tests the {@link JEEHttpActionAdapter}.

@author Jerome LELEU
@since 4.0.0
pac4j-jakartaee/src/test/java/org/pac4j/jee/http/adapter/JEEHttpActionAdapterTest.java