Lib_Test_Partner_LocaleOptionsTest

The Gravity Forms Salesforce Add-On Lib Test Partner LocaleOptionsTest class.

Defined (1)

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

/lib/Force.com-Toolkit-for-PHP/unit_test/Lib/Test/Partner/LocaleOptionsTest.php  
  1. class Lib_Test_Partner_LocaleOptionsTest extends Lib_Test_TestAbstractPartner 
  2. public function getTestName() 
  3. return 'LocaleOptions'; 
  4.  
  5. protected function _run() 
  6. $header = new LocaleOptions('en_US'); 
  7. $this->_mySforceConnection->setLocaleOptions($header); 
  8.  
  9. print "**** DescribeSObject result: \r\n"; 
  10. print_r( 
  11. $this->_mySforceConnection->describeSObject('Account') 
  12. ); 
  13.  
  14. print "**** LastRequestHeaders:\r\n"; 
  15. print_r($this->_mySforceConnection->getLastRequestHeaders()); 
  16. print "**** LastRequest:\r\n"; 
  17. print_r($this->_mySforceConnection->getLastRequest()); 
  18.