You are here

public function AccessManagerTest::providerCheckException in Drupal 8

Same name and namespace in other branches
  1. 9 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 523
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,
    ],
  ];
}