public function ResponseHeaderBagTest::testAllPreserveCase in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testAllPreserveCase($headers, $expected) {
$bag = new ResponseHeaderBag($headers);
$this
->assertEquals($expected, $bag
->allPreserveCase(), '->allPreserveCase() gets all input keys in original case');
}