public function testGetMatchDetails() { $file = file_get_contents('./tests/Responses/getMatchDetails.json'); $this->mockHandler->append(new Response('200', [], $file)); $response = $this->client->getMatchDetails(new \Dotapi2\Filters\MatchDetails('2197925777')); $this->assertArraySubset(json_decode($file, true), $response->getJson()); }