function EntityConditionGroupTest::testConstructException
Same name in other branches
- 9 core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php \Drupal\Tests\jsonapi\Unit\Query\EntityConditionGroupTest::testConstructException()
- 8.9.x core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php \Drupal\Tests\jsonapi\Unit\Query\EntityConditionGroupTest::testConstructException()
- 11.x core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php \Drupal\Tests\jsonapi\Unit\Query\EntityConditionGroupTest::testConstructException()
@covers ::__construct
File
-
core/
modules/ jsonapi/ tests/ src/ Unit/ Query/ EntityConditionGroupTest.php, line 36
Class
- EntityConditionGroupTest
- @coversDefaultClass \Drupal\jsonapi\Query\EntityConditionGroup @group jsonapi
Namespace
Drupal\Tests\jsonapi\Unit\QueryCode
public function testConstructException() : void {
$this->expectException(\InvalidArgumentException::class);
new EntityConditionGroup('NOT_ALLOWED', []);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.