You are here

public function RowCountExceptionTest::testExceptionMessageNull in Drupal 10

@covers ::__construct @group legacy

File

core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php, line 45

Class

RowCountExceptionTest
@coversDefaultClass \Drupal\Core\Database\RowCountException

Namespace

Drupal\Tests\Core\Database

Code

public function testExceptionMessageNull() {
  $e = new RowCountException(NULL);
  $this
    ->assertSame(static::DEFAULT_EXCEPTION_MESSAGE, $e
    ->getMessage());
}