Lib_Test_Enterprise_QueryTest

The Gravity Forms Salesforce Add-On Lib Test Enterprise QueryTest class.

Defined (1)

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

/lib/Force.com-Toolkit-for-PHP/unit_test/Lib/Test/Enterprise/QueryTest.php  
  1. class Lib_Test_Enterprise_QueryTest extends Lib_Test_TestAbstractEnterprise 
  2. public function getTestName() 
  3. return 'Query'; 
  4.  
  5. protected function _run() 
  6. $query = 'SELECT Id, Name from Account limit 5'; 
  7. $response = $this->_mySforceConnection->query($query); 
  8.  
  9. foreach ($response->records as $record) { 
  10. print_r($record); 
  11. print "<br>";