public function testNewestExpectationsAreFirstEvaluated()
{
$this->client->post('/_expectation', null, $this->createExpectationParams([static function ($request) {
return $request instanceof Request;
}], new Response('first', 200)))->send();
$this->assertSame('first', $this->client->get('/')->send()->getBody(true));
$this->client->post('/_expectation', null, $this->createExpectationParams([static function ($request) {
return $request instanceof Request;
}], new Response('second', 200)))->send();
$this->assertSame('second', $this->client->get('/')->send()->getBody(true));
}