public MockWebContext addRequestParameter(final String key, final String value) {
        this.parameters.put(key, value);
        return this;
    }
Add a request parameter for mock purpose.

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