You are here

public function AcceptHeaderItemTest::testToString in Zircon Profile 8

Same name and namespace in other branches
  1. 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

AcceptHeaderItemTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

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