Exemplo n.º 1
0
 /**
  * @covers \DCarbone\CurlPlus\CurlPlusClient::curlOptSet
  * @depends testCanConstructWithUrlAndCurlOptArrayParams
  * @param \DCarbone\CurlPlus\CurlPlusClient $curlClient
  */
 public function testCanDetermineIfCurlOptIsSet(\DCarbone\CurlPlus\CurlPlusClient $curlClient)
 {
     $isset = $curlClient->curlOptSet(CURLOPT_RETURNTRANSFER);
     $notset = $curlClient->curlOptSet(CURLOPT_URL);
     $this->assertTrue($isset);
     $this->assertFalse($notset);
 }