'"this;should,not=matter";charset=utf-8',
'this;should,not=matter',
['charset' => 'utf-8'
],
],
];
} /**
* @dataProvider provideToStringData
*/
public function testToString($value, array
$attributes,
$string) { $item =
new AcceptHeaderItem($value,
$attributes);
$this->
assertEquals($string,
(string) $item);
} public static function provideToStringData() { return [ [ 'text/html',
[],
'text/html',
],
[