You're using the following constructor: public MockHttpServletRequest(String method, String requestURI)
but a requestURI does not include the queryString
It doesn't answer your question and it's probably just a matter of taste, but I much prefer:
Because it clearly documents the needs of your controller (eg. controller probably doesn't need to know the method, nor the serverPort).
request = new MockHttpServletRequest();