You are here

public function AccessManagerTest::providerCheckException in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php \Drupal\Tests\Core\Access\AccessManagerTest::providerCheckException()

Data provider for testCheckException.

Return value

array

File

core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php, line 516
Contains \Drupal\Tests\Core\Access\AccessManagerTest.

Class

AccessManagerTest
@coversDefaultClass \Drupal\Core\Access\AccessManager @group Access

Namespace

Drupal\Tests\Core\Access

Code

public function providerCheckException() {
  return [
    [
      [
        1,
      ],
    ],
    [
      'string',
    ],
    [
      0,
    ],
    [
      1,
    ],
  ];
}