public function setUp() { $this->_curlStub = new SAI_CurlStub(); $this->_curlStub->setResponse(self::DEFAULT_RESPONSE); $this->_curlStub->setErrorCode(self::DEFAULT_ERRORCODE); }