Finally I have managed to setup the context for some integration test and to test methods that expect @PathVariable or @ModelAttribute. Still, I cannot figure out how can I setup the HTTPServletRequest used inside the controller.

```
MyController {
    @Autowired
private HttpServletRequest request;
}

```

The request never updates while I'm running the test.
I might misunderstand something (as far as I'm new to Spring).
How can I achieve this?
Thanks in advance for the answer!