public function UrlTest::testGetRouteParametersWithExternalUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/UrlTest.php \Drupal\Tests\Core\UrlTest::testGetRouteParametersWithExternalUrl()
Tests the getRouteParameters() with an external URL.
@covers ::getRouteParameters @expectedException \UnexpectedValueException
File
- core/
tests/ Drupal/ Tests/ Core/ UrlTest.php, line 438 - Contains \Drupal\Tests\Core\UrlTest.
Class
- UrlTest
- @coversDefaultClass \Drupal\Core\Url @group UrlTest
Namespace
Drupal\Tests\CoreCode
public function testGetRouteParametersWithExternalUrl() {
$url = Url::fromUri('http://example.com');
$url
->getRouteParameters();
}