function EntityConditionGroupTest::testConstructException
Tests construct exception.
@legacy-covers ::__construct
File
-
core/
modules/ jsonapi/ tests/ src/ Unit/ Query/ EntityConditionGroupTest.php, line 44
Class
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.