isEmpty() public method

Checks if response is empty.
public isEmpty ( ) : boolean
return boolean
Exemplo n.º 1
0
 /** @test */
 public function it_should_check_responses_with_data()
 {
     $response = new Response();
     $response->fill($this->createSuccessApiResponse());
     $this->assertFalse($response->isEmpty());
 }