public MockWebContext setQueryString(final String queryString) {
        this.queryString = queryString;
        return this;
    }
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