Example #1
0
 public function testGetEnv()
 {
     if (isset($_ENV['PATH'])) {
         $this->assertEquals($_ENV['PATH'], $this->_request->getEnv('PATH'));
     }
     $this->assertEquals('foo', $this->_request->getEnv('BAR', 'foo'));
     $this->assertEquals($_ENV, $this->_request->getEnv());
 }