Example #1
0
 protected function setUp()
 {
     ApiRequestor::setHttpClient(HttpClient\CurlClient::instance());
     $this->mock = null;
     $this->call = 0;
 }
Example #2
0
 private function httpClient()
 {
     if (!self::$_httpClient) {
         self::$_httpClient = HttpClient\CurlClient::instance();
     }
     return self::$_httpClient;
 }