You are here

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

@covers Symfony\Component\HttpFoundation\ResponseHeaderBag::allPreserveCase @dataProvider provideAllPreserveCase

File

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

Class

ResponseHeaderBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testAllPreserveCase($headers, $expected) {
  $bag = new ResponseHeaderBag($headers);
  $this
    ->assertEquals($expected, $bag
    ->allPreserveCase(), '->allPreserveCase() gets all input keys in original case');
}