public function UnroutedUrlTest::testGetOptions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/UnroutedUrlTest.php \Drupal\Tests\Core\UnroutedUrlTest::testGetOptions()
Tests the getOptions() method.
@depends testFromUri @dataProvider providerFromUri
@covers ::getOptions
File
- core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php, line 246 - Contains \Drupal\Tests\Core\UnroutedUrlTest.
Class
- UnroutedUrlTest
- @coversDefaultClass \Drupal\Core\Url @group UrlTest
Namespace
Drupal\Tests\CoreCode
public function testGetOptions($uri) {
$url = Url::fromUri($uri);
$this
->assertInternalType('array', $url
->getOptions());
}