public function PathBasedBreadcrumbBuilderTest::testApplies in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php \Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest::testApplies()
Tests the applied method.
@covers ::applies
File
- core/
modules/ system/ tests/ src/ Unit/ Breadcrumbs/ PathBasedBreadcrumbBuilderTest.php, line 347 - Contains \Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest.
Class
- PathBasedBreadcrumbBuilderTest
- @coversDefaultClass \Drupal\system\PathBasedBreadcrumbBuilder @group system
Namespace
Drupal\Tests\system\Unit\BreadcrumbsCode
public function testApplies() {
$this
->assertTrue($this->builder
->applies($this
->createMock('Drupal\\Core\\Routing\\RouteMatchInterface')));
}