public function PathProcessorFrontTest::testProcessOutbound in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php \Drupal\Tests\Core\PathProcessor\PathProcessorFrontTest::testProcessOutbound()
Tests basic outbound processing functionality.
@covers ::processOutbound @dataProvider providerProcessOutbound
File
- core/
tests/ Drupal/ Tests/ Core/ PathProcessor/ PathProcessorFrontTest.php, line 77
Class
- PathProcessorFrontTest
- Test front page path processing.
Namespace
Drupal\Tests\Core\PathProcessorCode
public function testProcessOutbound($path, $expected) {
$config_factory = $this
->prophesize(ConfigFactoryInterface::class);
$processor = new PathProcessorFront($config_factory
->reveal());
$this
->assertEquals($expected, $processor
->processOutbound($path));
}