function RowCountExceptionTest::providerTestExceptionMessage

Same name in other branches
  1. 9 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()

Data provider for ::testExceptionMessage()

Return value

array

File

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

Class

RowCountExceptionTest
@coversDefaultClass \Drupal\Core\Database\RowCountException

Namespace

Drupal\Tests\Core\Database

Code

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

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