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