コード例 #1
0
ファイル: DotNetTest.php プロジェクト: razvansividra/pnlzf2-1
 /**
  * Mocks the cURL client.
  *
  * @return void
  */
 private function mockCurlClient()
 {
     $this->curlClient = $this->getMock('Zend\\Http\\Client\\Adapter\\Curl', array('close', 'connect', 'read', 'write'));
     $this->client->setCurlClient($this->curlClient);
 }