function 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 32

Class

RowCountExceptionTest
Tests Drupal\Core\Database\RowCountException.

Namespace

Drupal\Tests\Core\Database

Code

public static function providerTestExceptionMessage() {
  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.