"localhost", "HTTP_ACCEPT" => "application/json", "QUERY_STRING" => "guinea_pig=Claude&hamster=Fizzgig" ]; $_COOKIE = [ "cat" => "Molly" ]; $_FILES = [ "file" => [ "name" => "MyFile.jpg", "type" => "image/jpeg", "tmp_name" => "/tmp/php/php6hst32", "error" => "UPLOAD_ERR_OK", "size" => 98174 ] ]; $_POST = [ "dog" => "Bear" ]; $request = ServerRequest::getServerRequest(); $headers = $request->getHeaders(); $this->assertNotNull($headers); } }