public function MappedObjectTest::testPull in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 modules/salesforce_mapping/tests/src/Unit/MappedObjectTest.php \Drupal\Tests\salesforce_mapping\Unit\MappedObjectTest::testPull()
- 5.0.x modules/salesforce_mapping/tests/src/Unit/MappedObjectTest.php \Drupal\Tests\salesforce_mapping\Unit\MappedObjectTest::testPull()
@covers ::pull
File
- modules/
salesforce_mapping/ tests/ src/ Unit/ MappedObjectTest.php, line 296
Class
- MappedObjectTest
- Test Mapped Object instantitation.
Namespace
Drupal\Tests\salesforce_mapping\UnitCode
public function testPull() {
// Set sf_object to mock coming from cron pull.
$this->mapped_object
->setSalesforceRecord($this->sf_object);
$this
->assertEquals($this->mapped_object, $this->mapped_object
->pull());
}