public function SelectQueryResultTest::testNoId in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 tests/src/Unit/SelectQueryResultTest.php \Drupal\Tests\salesforce\Unit\SelectQueryResultTest::testNoId()
- 5.0.x tests/src/Unit/SelectQueryResultTest.php \Drupal\Tests\salesforce\Unit\SelectQueryResultTest::testNoId()
Test object instantiation with non-existent ID.
File
- tests/
src/ Unit/ SelectQueryResultTest.php, line 57
Class
- SelectQueryResultTest
- Test Object instantitation.
Namespace
Drupal\Tests\salesforce\UnitCode
public function testNoId() {
$sfid = new SFID('1234567890abcdg');
$this
->assertFalse($this->sqr
->record($sfid));
}