title: Test with consecutive calls to MockWebServer
body: <p>I am writing test for an Activity which makes several consecutive calls to server.
  My MockWebServer mixes sequence of responses.e.g. When I make two consecutive requests request1 and request2 it sometimes returns request2's Json in response to request1 and request1's Json in response to request2.
  How can I specify which response MockWebServer has to return to specified request?</p>
  <pre class="lang-java prettyprint-override"><code>server.enqueue(new MockResponse()
                  .setResponseCode(200)
                  .setBody(readFromFile(&quot;response1 path&quot;));
  
  server.enqueue(new MockResponse()
                  .setResponseCode(200)
                  .setBody(readFromFile(&quot;response2 path&quot;));
  </code></pre>
  <p>In documentation it is said &quot;Enqueue scripts response to be returned to a request made in sequence. The first request is served by the first enqueued response; the second request by the second enqueued response; and so on.&quot;</p>
  <p>This sequence doesn't work in case of parallel requests.</p>