Ejemplo n.º 1
0
 public function setMethod()
 {
     $fixture = new RestRequest();
     $fixture->setMethod(HttpConstants::GET);
     $this->assertEquals(HttpConstants::GET, $fixture->getMethod());
 }