public function EntityConditionGroupTest::testConstructException in Drupal 10
Same name and namespace in other branches
- 8 core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php \Drupal\Tests\jsonapi\Unit\Query\EntityConditionGroupTest::testConstructException()
- 9 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 34
Class
- EntityConditionGroupTest
- @coversDefaultClass \Drupal\jsonapi\Query\EntityConditionGroup @group jsonapi
Namespace
Drupal\Tests\jsonapi\Unit\QueryCode
public function testConstructException() {
$this
->expectException(\InvalidArgumentException::class);
new EntityConditionGroup('NOT_ALLOWED', []);
}