You are here

public function RequestTest::testGetUri in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::testGetUri()
  2. 8 vendor/symfony/browser-kit/Tests/RequestTest.php \Symfony\Component\BrowserKit\Tests\RequestTest::testGetUri()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/Tests/RequestTest.php \Symfony\Component\BrowserKit\Tests\RequestTest::testGetUri()

File

vendor/symfony/browser-kit/Tests/RequestTest.php, line 18

Class

RequestTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function testGetUri() {
  $request = new Request('http://www.example.com/', 'get');
  $this
    ->assertEquals('http://www.example.com/', $request
    ->getUri(), '->getUri() returns the URI of the request');
}