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