You are here

public function ResponseHeaderBagTest::testGetCookiesWithInvalidArgument in Zircon Profile 8

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

@expectedException \InvalidArgumentException

File

vendor/symfony/http-foundation/Tests/ResponseHeaderBagTest.php, line 232

Class

ResponseHeaderBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testGetCookiesWithInvalidArgument() {
  $bag = new ResponseHeaderBag();
  $cookies = $bag
    ->getCookies('invalid_argument');
}