public function AcceptHeaderItemTest::testToString

@dataProvider provideToStringData

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/AcceptHeaderItemTest.php, line 53

Class

AcceptHeaderItemTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testToString($value, array $attributes, $string) {
  $item = new AcceptHeaderItem($value, $attributes);
  $this
    ->assertEquals($string, (string) $item);
}