public function setMethod()
 {
     $fixture = new RestRequest();
     $fixture->setMethod(HttpConstants::GET);
     $this->assertEquals(HttpConstants::GET, $fixture->getMethod());
 }