Lib_Test_Partner_CallOptionsTest

This is PARTNER specific test.

Defined (1)

The class is defined in the following location(s).

/lib/Force.com-Toolkit-for-PHP/unit_test/Lib/Test/Partner/CallOptionsTest.php  
  1. class Lib_Test_Partner_CallOptionsTest extends Lib_Test_TestAbstractPartner 
  2. public function getTestName() 
  3. return 'CallOptions'; 
  4.  
  5. protected function _run() 
  6. {  
  7. $YOURCLIENTID = 'YourClientId'; 
  8. $NAMESPACE = 'aNamespace'; 
  9.  
  10. $callOptionsHeader = new CallOptions($YOURCLIENTID, $NAMESPACE); 
  11. $this->_mySforceConnection->setCallOptions($callOptionsHeader); 
  12. $loginResult = $this->_mySforceConnection->login($this->_userName, $this->_password); 
  13.  
  14. print_r($loginResult);