示例#1
0
 public function testSetGetParams()
 {
     $params = array('foo' => 'bar', 'boo' => 'bah', 'fee' => 'fi');
     $this->_request->setParams($params);
     $this->assertSame($params, $this->_request->getParams());
 }
示例#2
0
 /**
  * Overload and proxy to Zend_Http_Request object
  *
  * @param string $key
  * @param mixed $value
  * @return void
  */
 public function __set($key, $value)
 {
     return $this->_httpRequest->__set($key, $value);
 }
示例#3
0
 public function testGetEnv()
 {
     $this->assertEquals($_ENV['PATH'], $this->_request->getEnv('PATH'));
 }