You are here

public function ResponseHeaderBagTest::testMakeDispositionFail 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::testMakeDispositionFail()

@dataProvider provideMakeDispositionFail @expectedException \InvalidArgumentException

File

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

Class

ResponseHeaderBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testMakeDispositionFail($disposition, $filename) {
  $headers = new ResponseHeaderBag();
  $headers
    ->makeDisposition($disposition, $filename);
}