function RowCountExceptionTest::testExceptionMessage
Same name in other branches
- 10 core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::testExceptionMessage()
- 11.x core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::testExceptionMessage()
@covers ::__construct @dataProvider providerTestExceptionMessage()
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ RowCountExceptionTest.php, line 36
Class
- RowCountExceptionTest
- @coversDefaultClass \Drupal\Core\Database\RowCountException
Namespace
Drupal\Tests\Core\DatabaseCode
public function testExceptionMessage($expected, $message) {
$e = new RowCountException($message);
$this->assertSame($expected, $e->getMessage());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.