@Test
    public void testSavePost() {
        val context = MockWebContext.create().setFullRequestURL(PAC4J_URL).setRequestMethod("POST");
        context.addRequestParameter(KEY, VALUE);
        val sessionStore = new MockSessionStore();
        handler.save(new CallContext(context, sessionStore));
        WithContentAction action = (OkAction) sessionStore.get(context, Pac4jConstants.REQUESTED_URL).get();
        assertEquals(FORM_DATA, action.getContent());
    }
Tests {@link DefaultSavedRequestHandler}.

@author Jerome LELEU
@since 4.0.0
pac4j-core/src/test/java/org/pac4j/core/engine/savedrequest/DefaultSavedRequestHandlerTest.java