You are here

public function ResponseHeaderBagTest::testMakeDispositionInvalidDisposition in Zircon Profile 8.0

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

@expectedException \InvalidArgumentException

File

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

Class

ResponseHeaderBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testMakeDispositionInvalidDisposition() {
  $headers = new ResponseHeaderBag();
  $headers
    ->makeDisposition('invalid', 'foo.html');
}