MockRestServiceServer simulate backend timeout in integration test : <p>I am writing some kind of integration test on my REST controller using MockRestServiceServer to mock backend behaviour. 
What I am trying to achieve now is to simulate very slow response from backend which would finally lead to timeout in my application. It seems that it can be implemented with WireMock but at the moment I would like to stick to MockRestServiceServer.</p>

<p>I am creating server like this:</p>

<pre><code>myMock = MockRestServiceServer.createServer(asyncRestTemplate);
</code></pre>

<p>And then I'm mocking my backend behaviour like:</p>

<pre><code>myMock.expect(requestTo("http://myfakeurl.blabla"))
            .andExpect(method(HttpMethod.GET))
            .andRespond(withSuccess(myJsonResponse, MediaType.APPLICATION_JSON));
</code></pre>

<p>Is it possible to add some kind of a delay or timeout or other kind of latency to the response (or maybe whole mocked server or even my asyncRestTemplate)? Or should I just switch to WireMock or maybe Restito?</p>
