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