You are here

public function RequestContextTest::testScheme in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Tests/RequestContextTest.php \Symfony\Component\Routing\Tests\RequestContextTest::testScheme()

File

vendor/symfony/routing/Tests/RequestContextTest.php, line 110

Class

RequestContextTest

Namespace

Symfony\Component\Routing\Tests

Code

public function testScheme() {
  $requestContext = new RequestContext();
  $requestContext
    ->setScheme('HTTPS');
  $this
    ->assertSame('https', $requestContext
    ->getScheme());
}