@Test
    public void testActionWithLocation() {
        JEEHttpActionAdapter.INSTANCE.adapt(new FoundAction(TestsConstants.PAC4J_URL), context);
        verify(response).setStatus(302);
        verify(context).setResponseHeader(HttpConstants.LOCATION_HEADER, TestsConstants.PAC4J_URL);
    }
Tests the {@link JEEHttpActionAdapter}.

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