public function AcceptHeaderItemTest::testToString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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);
}