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