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