You are here

public function SFIDTest::testConvertId in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 tests/src/Unit/SFIDTest.php \Drupal\Tests\salesforce\Unit\SFIDTest::testConvertId()
  2. 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\Unit

Code

public function testConvertId() {
  $sfid = new SFID('1234567890adcde');
  $this
    ->assertEquals('1234567890adcdeAAA', $sfid);
}