public function RedirectResponseTest::testSetTargetUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/RedirectResponseTest.php \Symfony\Component\HttpFoundation\Tests\RedirectResponseTest::testSetTargetUrl()
File
- vendor/
symfony/ http-foundation/ Tests/ RedirectResponseTest.php, line 59
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testSetTargetUrl() {
$response = new RedirectResponse('foo.bar');
$response
->setTargetUrl('baz.beep');
$this
->assertEquals('baz.beep', $response
->getTargetUrl());
}