public function testHeaderBag() { $headerBag = new HeaderBag($this->_headers); $this->assertEquals($headerBag->getHost(), ['localhost']); $this->assertEquals($headerBag->getAccept(), explode(',', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8')); }