public function AcceptHeaderTest::testSorting in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/AcceptHeaderTest.php \Symfony\Component\HttpFoundation\Tests\AcceptHeaderTest::testSorting()
@dataProvider provideSortingData
File
- vendor/
symfony/ http-foundation/ Tests/ AcceptHeaderTest.php, line 88
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testSorting($string, array $values) {
$header = AcceptHeader::fromString($string);
$this
->assertEquals($values, array_keys($header
->all()));
}