public function RequestContextTest::testPort in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/RequestContextTest.php \Symfony\Component\Routing\Tests\RequestContextTest::testPort()
File
- vendor/
symfony/ routing/ Tests/ RequestContextTest.php, line 134
Class
Namespace
Symfony\Component\Routing\TestsCode
public function testPort() {
$requestContext = new RequestContext();
$requestContext
->setHttpPort('123');
$requestContext
->setHttpsPort('456');
$this
->assertSame(123, $requestContext
->getHttpPort());
$this
->assertSame(456, $requestContext
->getHttpsPort());
}