function RowCountExceptionTest::testExceptionMessageNull
Same name and namespace in other branches
- 10 core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::testExceptionMessageNull()
- 9 core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::testExceptionMessageNull()
- main core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::testExceptionMessageNull()
Tests exception message null.
@legacy-covers ::__construct
Attributes
#[IgnoreDeprecations]
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ RowCountExceptionTest.php, line 55
Class
Namespace
Drupal\Tests\Core\DatabaseCode
public function testExceptionMessageNull() : void {
$e = new RowCountException(NULL);
$this->assertSame(self::DEFAULT_EXCEPTION_MESSAGE, $e->getMessage());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.