function UnroutedUrlAssemblerTest::testAssembleWithNotEnabledProcessing
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithNotEnabledProcessing()
- 8.9.x core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithNotEnabledProcessing()
- 11.x core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithNotEnabledProcessing()
@covers ::assemble
File
-
core/
tests/ Drupal/ Tests/ Core/ Utility/ UnroutedUrlAssemblerTest.php, line 142
Class
- UnroutedUrlAssemblerTest
- @coversDefaultClass \Drupal\Core\Utility\UnroutedUrlAssembler @group Utility
Namespace
Drupal\Tests\Core\UtilityCode
public function testAssembleWithNotEnabledProcessing() : void {
$this->setupRequestStack(FALSE);
$this->pathProcessor
->expects($this->never())
->method('processOutbound');
$result = $this->unroutedUrlAssembler
->assemble('base:test-uri', []);
$this->assertEquals('/test-uri', $result);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.