@Override
    public String getRequestContent() {
        if (requestContent == null) {
            return WebContext.super.getRequestContent();
        } else {
            return requestContent;
        }
    }
Set the request method for mock purpose.

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