function RowCountExceptionTest::providerTestExceptionMessage

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::providerTestExceptionMessage()
  2. 10 core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::providerTestExceptionMessage()
  3. 9 core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::providerTestExceptionMessage()

Data provider for ::testExceptionMessage()

Return value

array An array of test data for ::testExceptionMessage().

File

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

Class

RowCountExceptionTest
Tests Drupal\Core\Database\RowCountException.

Namespace

Drupal\Tests\Core\Database

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.