You are here

public function UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest::testAssembleWithNeitherExternalNorDomainLocalUri()

@covers ::assemble @expectedException \InvalidArgumentException

File

core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php, line 66
Contains \Drupal\Tests\Core\Utility\UnroutedUrlAssemblerTest.

Class

UnroutedUrlAssemblerTest
@coversDefaultClass \Drupal\Core\Utility\UnroutedUrlAssembler @group Utility

Namespace

Drupal\Tests\Core\Utility

Code

public function testAssembleWithNeitherExternalNorDomainLocalUri() {
  $this->unroutedUrlAssembler
    ->assemble('wrong-url');
}