protected function PathBasedBreadcrumbBuilderTest::setupStubPathProcessor in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php \Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest::setupStubPathProcessor()
4 calls to PathBasedBreadcrumbBuilderTest::setupStubPathProcessor()
- PathBasedBreadcrumbBuilderTest::testBuildWithException in core/
modules/ system/ tests/ src/ Unit/ Breadcrumbs/ PathBasedBreadcrumbBuilderTest.php - Tests that exceptions during request matching are caught.
- PathBasedBreadcrumbBuilderTest::testBuildWithThreePathElements in core/
modules/ system/ tests/ src/ Unit/ Breadcrumbs/ PathBasedBreadcrumbBuilderTest.php - Tests the build method with three path elements.
- PathBasedBreadcrumbBuilderTest::testBuildWithTwoPathElements in core/
modules/ system/ tests/ src/ Unit/ Breadcrumbs/ PathBasedBreadcrumbBuilderTest.php - Tests the build method with two path elements.
- PathBasedBreadcrumbBuilderTest::testBuildWithUserPath in core/
modules/ system/ tests/ src/ Unit/ Breadcrumbs/ PathBasedBreadcrumbBuilderTest.php - Tests the breadcrumb for a user path.
File
- core/
modules/ system/ tests/ src/ Unit/ Breadcrumbs/ PathBasedBreadcrumbBuilderTest.php, line 403 - Contains \Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest.
Class
- PathBasedBreadcrumbBuilderTest
- @coversDefaultClass \Drupal\system\PathBasedBreadcrumbBuilder @group system
Namespace
Drupal\Tests\system\Unit\BreadcrumbsCode
protected function setupStubPathProcessor() {
$this->pathProcessor
->expects($this
->any())
->method('processInbound')
->will($this
->returnArgument(0));
}