You are here

public function RedirectResponseTest::testSetTargetUrlNull 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::testSetTargetUrlNull()

@expectedException \InvalidArgumentException

File

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

Class

RedirectResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testSetTargetUrlNull() {
  $response = new RedirectResponse('foo.bar');
  $response
    ->setTargetUrl(null);
}