You are here

public function AcceptHeaderTest::testToString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/AcceptHeaderTest.php \Symfony\Component\HttpFoundation\Tests\AcceptHeaderTest::testToString()

@dataProvider provideToStringData

File

vendor/symfony/http-foundation/Tests/AcceptHeaderTest.php, line 53

Class

AcceptHeaderTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testToString(array $items, $string) {
  $header = new AcceptHeader($items);
  $this
    ->assertEquals($string, (string) $header);
}