Ejemplo n.º 1
0
 public function testIsPut()
 {
     $_SERVER['REQUEST_METHOD'] = 'PUT';
     $this->assertTrue($this->_request->isPut());
     $this->assertFalse($this->_request->isGet());
 }