You are here

public function SFIDTest::testGoodId in Salesforce Suite 8.4

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

Test object instantiation with good ID.

File

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

Class

SFIDTest
Test Object instantitation.

Namespace

Drupal\Tests\salesforce\Unit

Code

public function testGoodId() {
  $sfid = new SFID('1234567890abcde');
  $this
    ->assertTrue($sfid instanceof SFID);
}