public function testHeadersIsCaseInsensitive() { $request = new Request(array(), array(), array(), array(), array(), array(), array(), array('AUTHORIZATION' => 'Basic secret')); $this->assertEquals('Basic secret', $request->headers('Authorization')); }