public function SFIDTest::testConvertId in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 tests/src/Unit/SFIDTest.php \Drupal\Tests\salesforce\Unit\SFIDTest::testConvertId()
- 8.3 tests/src/Unit/SFIDTest.php \Drupal\Tests\salesforce\Unit\SFIDTest::testConvertId()
Test object instantiation with bad ID.
File
- tests/
src/ Unit/ SFIDTest.php, line 41
Class
- SFIDTest
- Test Object instantitation.
Namespace
Drupal\Tests\salesforce\UnitCode
public function testConvertId() {
$sfid = new SFID('1234567890adcde');
$this
->assertEquals('1234567890adcdeAAA', $sfid);
}