function PathProcessorFrontTest::testProcessOutbound
Test 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));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.