createAuthorWithRandomizedData($client); $cheepData = $this->makeRandomizedCheep($client, $autorData['userName']); $response = $client->request(Request::METHOD_GET, "/api/cheeps/${cheepData['id']}"); $this->assertResponseIsSuccessful(); $data = $response->toArray(); $this->assertEquals($cheepData, $data); } }