You are here

public function SelectQueryResultTest::testNoId in Salesforce Suite 8.3

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

Test object instantiation with no ID.

@expectedException Exception

File

tests/src/Unit/SelectQueryResultTest.php, line 53

Class

SelectQueryResultTest
Test Object instantitation.

Namespace

Drupal\Tests\salesforce\Unit

Code

public function testNoId() {
  $sfid = new SFID('1234567890abcdg');
  $this->sqr
    ->record($sfid);
}