public function RequestTest::testAggregatesHeaders in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/tests/RequestTest.php \GuzzleHttp\Tests\Psr7\RequestTest::testAggregatesHeaders()
File
- vendor/
guzzlehttp/ psr7/ tests/ RequestTest.php, line 136
Class
- RequestTest
- @covers GuzzleHttp\Psr7\Request
Namespace
GuzzleHttp\Tests\Psr7Code
public function testAggregatesHeaders() {
$r = new Request('GET', 'http://foo.com', [
'ZOO' => 'zoobar',
'zoo' => [
'foobar',
'zoobar',
],
]);
$this
->assertEquals('zoobar, foobar, zoobar', $r
->getHeaderLine('zoo'));
}