public MockWebContext addRequestHeader(final String key, final String value) {
        this.headers.put(key, value);
        return this;
    }
Add a request header for mock purpose.

@param key request name
@param value request value
@return this mock web context
pac4j-core/src/test/java/org/pac4j/core/context/MockWebContext.java