public function UnroutedUrlAssemblerTest::testAssembleWithNotEnabledProcessing in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 140 - Contains \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest.
Class
- UnroutedUrlAssemblerTest
- @coversDefaultClass \Drupal\Core\Utility\UnroutedUrlAssembler @group Utility
Namespace
Drupal\Tests\Core\UtilityCode
public function testAssembleWithNotEnabledProcessing() {
$this
->setupRequestStack(FALSE);
$this->pathProcessor
->expects($this
->never())
->method('processOutbound');
$result = $this->unroutedUrlAssembler
->assemble('base:test-uri', []);
$this
->assertEquals('/test-uri', $result);
}