You are here

public function RowCountExceptionTest::providerTestExceptionMessage in Drupal 10

Data provider for ::testExceptionMessage()

Return value

array

File

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

Class

RowCountExceptionTest
@coversDefaultClass \Drupal\Core\Database\RowCountException

Namespace

Drupal\Tests\Core\Database

Code

public function providerTestExceptionMessage() {
  return [
    [
      static::DEFAULT_EXCEPTION_MESSAGE,
      '',
    ],
    [
      'test',
      'test',
    ],
  ];
}