You are here

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

@dataProvider provideMakeDisposition

File

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

Class

ResponseHeaderBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testMakeDisposition($disposition, $filename, $filenameFallback, $expected) {
  $headers = new ResponseHeaderBag();
  $this
    ->assertEquals($expected, $headers
    ->makeDisposition($disposition, $filename, $filenameFallback));
}