@Test
    public void testBuildUnauthenticated403WithoutHeader() {
        HttpActionHelper.setAlwaysUse401ForUnauthenticated(false);
        final WebContext context = MockWebContext.create();
        val action = HttpActionHelper.buildUnauthenticatedAction(context);
        assertTrue(action instanceof ForbiddenAction);
        assertTrue(context.getResponseHeader(HttpConstants.AUTHENTICATE_HEADER).isEmpty());
    }
Tests {@link HttpActionHelper}.

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