Lib_Test_Partner_MetaDataDeleteTest

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

Defined (1)

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

/lib/Force.com-Toolkit-for-PHP/unit_test/Lib/Test/Partner/MetaDataDeleteTest.php  
  1. class Lib_Test_Partner_MetaDataDeleteTest extends Lib_Test_TestAbstractPartner 
  2. public function getTestName() 
  3. return 'MetaDataDelete'; 
  4.  
  5. protected function _run() 
  6. $myMetadataConnection = new SforceMetadataClient($this->_getMetaDataWSDL(), $this->_mylogin, $this->_mySforceConnection); 
  7.  
  8. $customObject = new SforceCustomObject(); 
  9. $customObject->fullName = 'MyCustomObjFromPHP__c'; 
  10.  
  11. print_r($myMetadataConnection->delete($customObject));