Example #1
0
 public function testResponseReturnNullOnEmptyError()
 {
     $response = new Response(1);
     $this->assertNull($response->getError());
     $this->assertNull($response->getErrorCode());
     $this->assertNull($response->getErrorMessage());
     $this->assertNull($response->getErrorData());
 }