You are here

public function RedirectResponseTest::testGetTargetUrl in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/RedirectResponseTest.php \Symfony\Component\HttpFoundation\Tests\RedirectResponseTest::testGetTargetUrl()

File

vendor/symfony/http-foundation/Tests/RedirectResponseTest.php, line 52

Class

RedirectResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testGetTargetUrl() {
  $response = new RedirectResponse('foo.bar');
  $this
    ->assertEquals('foo.bar', $response
    ->getTargetUrl());
}