public function testRequestAllowsSettingOfParameterContainer() { $request = new Request(); $p = new \Zend\Stdlib\Parameters(); $request->setQuery($p); $request->setPost($p); $request->setFile($p); $request->setServer($p); $request->setEnv($p); $this->assertSame($p, $request->query()); $this->assertSame($p, $request->post()); $this->assertSame($p, $request->file()); $this->assertSame($p, $request->server()); $this->assertSame($p, $request->env()); }