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