@Test
    public void testError500() throws IOException {
        JEEHttpActionAdapter.INSTANCE.adapt(new StatusAction(500), context);
        verify(response).sendError(500);
    }
Tests the {@link JEEHttpActionAdapter}.

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