public function testGetMatchHistory() { $file = file_get_contents('./tests/Responses/getMatchHistory.json'); $this->mockHandler->append(new Response('200', [], $file)); $response = $this->client->getMatchHistory(); $this->assertArraySubset(json_decode($file, true), $response->getJson()); }