public function testGetErrorCode()
 {
     $this->assertEquals(1, $this->originalServerResponse->getErrorCode());
 }
Exemplo n.º 2
0
 private function checkForCurlErrors()
 {
     if ($this->originalServerResponse->getErrorCode() != 0) {
         $this->handleCurlError($this->originalServerResponse->getErrorCode(), $this->originalServerResponse->getErrorMessage());
     }
 }