You are here

public function PathBasedBreadcrumbBuilderTest::providerTestBuildWithException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 288
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 array(
    array(
      'Drupal\\Core\\ParamConverter\\ParamNotConvertedException',
      '',
    ),
    array(
      'Symfony\\Component\\Routing\\Exception\\MethodNotAllowedException',
      array(),
    ),
    array(
      'Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException',
      '',
    ),
  );
}