You are here

public function SFIDTest::testConvertId in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 tests/src/Unit/SFIDTest.php \Drupal\Tests\salesforce\Unit\SFIDTest::testConvertId()
  2. 5.0.x tests/src/Unit/SFIDTest.php \Drupal\Tests\salesforce\Unit\SFIDTest::testConvertId()

Test object instantiation with bad ID.

File

tests/src/Unit/SFIDTest.php, line 36

Class

SFIDTest
Test Object instantitation.

Namespace

Drupal\Tests\salesforce\Unit

Code

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