public function AcceptHeaderItemTest::testFromString 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::testFromString()
@dataProvider provideFromStringData
File
- vendor/
symfony/ http-foundation/ Tests/ AcceptHeaderItemTest.php, line 21
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testFromString($string, $value, array $attributes) {
$item = AcceptHeaderItem::fromString($string);
$this
->assertEquals($value, $item
->getValue());
$this
->assertEquals($attributes, $item
->getAttributes());
}