function RowCountExceptionTest::testExceptionMessageNull
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::testExceptionMessageNull()
- 10 core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::testExceptionMessageNull()
@covers ::__construct @group legacy
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ RowCountExceptionTest.php, line 47
Class
- RowCountExceptionTest
- @coversDefaultClass \Drupal\Core\Database\RowCountException
Namespace
Drupal\Tests\Core\DatabaseCode
public function testExceptionMessageNull() : void {
$e = new RowCountException(NULL);
$this->assertSame(static::DEFAULT_EXCEPTION_MESSAGE, $e->getMessage());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.