You are here

public function PathBasedBreadcrumbBuilderTest::providerTestBuildWithException in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php \Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest::providerTestBuildWithException()

Provides exception types for testBuildWithException.

Return value

array The list of exception test cases.

See also

\Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest::testBuildWithException()

File

core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php, line 306
Contains \Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest.

Class

PathBasedBreadcrumbBuilderTest
@coversDefaultClass \Drupal\system\PathBasedBreadcrumbBuilder @group system

Namespace

Drupal\Tests\system\Unit\Breadcrumbs

Code

public function providerTestBuildWithException() {
  return [
    [
      'Drupal\\Core\\ParamConverter\\ParamNotConvertedException',
      '',
    ],
    [
      'Symfony\\Component\\Routing\\Exception\\MethodNotAllowedException',
      [],
    ],
    [
      'Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException',
      '',
    ],
  ];
}