public function testGetCode() { $this->assertEquals(302, $this->originalServerResponse->getCode()); }
private function checkForApiErrors() { if ($this->originalServerResponse->getCode() < 200 || $this->originalServerResponse->getCode() >= 308) { $this->handleApiError($this->originalServerResponse->getCode(), $this->originalServerResponse->getBodyRaw()); } }