getCurlOptions() public method

public getCurlOptions ( )
 /**
  * @test
  */
 public function testProxyOpts()
 {
     $proxy = 'http://*****:*****@hostname:8081';
     $o = new PPHttpConfig();
     $o->setHttpProxy($proxy);
     $curlOpts = $o->getCurlOptions();
     $this->assertEquals('hostname:8081', $curlOpts[CURLOPT_PROXY]);
     $this->assertEquals('me:secret', $curlOpts[CURLOPT_PROXYUSERPWD]);
     $this->setExpectedException('PayPal\\Exception\\PPConfigurationException');
     $o->setHttpProxy('invalid string');
 }