public function HeaderBagTest::testToStringNotNull

File

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

Class

HeaderBagTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testToStringNotNull() {
  $bag = new HeaderBag(array(
    'foo' => 'bar',
  ));
  $this
    ->assertEquals("Foo: bar\r\n", $bag
    ->__toString());
}