You are here

public function ResponseTest::testGetUri in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/Tests/ResponseTest.php \Symfony\Component\BrowserKit\Tests\ResponseTest::testGetUri()

File

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

Class

ResponseTest

Namespace

Symfony\Component\BrowserKit\Tests

Code

public function testGetUri() {
  $response = new Response('foo');
  $this
    ->assertEquals('foo', $response
    ->getContent(), '->getContent() returns the content of the response');
}