Пример #1
0
 public function testCanChangeMethod()
 {
     $r = new Request('GET', 'http://www.foo.com');
     $r->setMethod('put');
     $this->assertEquals('PUT', $r->getMethod());
 }