function RowCountExceptionTest::providerTestExceptionMessage

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php \Drupal\Tests\Core\Database\RowCountExceptionTest::providerTestExceptionMessage()
  2. 11.x 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 25

Class

RowCountExceptionTest
@coversDefaultClass \Drupal\Core\Database\RowCountException

Namespace

Drupal\Tests\Core\Database

Code

public 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.