コード例 #1
0
 /**
  * Checks if returned header is correct when header was set and host was not set.
  */
 public function testGetHeader_headerSetAndHostNotSet_headerWithoutHost()
 {
     $aHeader = array('Test header');
     $oCurl = new oePayPalCurl();
     $oCurl->setHeader($aHeader);
     $this->assertEquals($aHeader, $oCurl->getHeader(), 'Header must be same as set header.');
 }