public function RequestContextTest::testHost in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/RequestContextTest.php \Symfony\Component\Routing\Tests\RequestContextTest::testHost()
File
- vendor/
symfony/ routing/ Tests/ RequestContextTest.php, line 118
Class
Namespace
Symfony\Component\Routing\TestsCode
public function testHost() {
$requestContext = new RequestContext();
$requestContext
->setHost('eXampLe.com');
$this
->assertSame('example.com', $requestContext
->getHost());
}