Exemplo n.º 1
0
 public function testRealRequestWitchCurl()
 {
     $api = new Api('testapi', 'test12345678');
     $curl = new Curl();
     $curl->setCurlOptSSLVerifypeer(false);
     $api->setTransport($curl);
     $response = $api->requestAndGetObject(new UList());
     $this->assertTrue(is_array($response->toArray()));
 }