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