@Test
    public void testRedirectUrlAfterPost() {
        HttpActionHelper.setUseModernHttpCodes(true);
        val action = HttpActionHelper
            .buildRedirectUrlAction(MockWebContext.create().setRequestMethod("POST"), PAC4J_URL);
        assertTrue(action instanceof SeeOtherAction);
        assertEquals(PAC4J_URL, ((SeeOtherAction) action).getLocation());
    }
Tests {@link HttpActionHelper}.

@author Jerome LELEU
@since 4.0.0
pac4j-core/src/test/java/org/pac4j/core/util/HttpActionHelperTest.java