function RowCountExceptionTest::testExceptionMessageNull

@covers ::__construct
@group legacy

File

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

Class

RowCountExceptionTest
@coversDefaultClass \Drupal\Core\Database\RowCountException[[api-linebreak]]

Namespace

Drupal\Tests\Core\Database

Code

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.