isEmpty() public méthode

Checks if response is empty.
public isEmpty ( ) : boolean
Résultat boolean
 /** @test */
 public function it_should_check_responses_with_data()
 {
     $response = new Response();
     $response->fill($this->createSuccessApiResponse());
     $this->assertFalse($response->isEmpty());
 }