You are here

public function HeaderBagTest::testToStringNotNull in Zircon Profile 8

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

File

vendor/symfony/http-foundation/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());
}