public function getAll() { return $this->headerBag->val(); }
public function testGetAll() { $_SERVER['HTTP_HOST'] = "localhost"; $headers = new Headers(); $this->assertSame(['Host' => 'localhost'], $headers->getAll()); }