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