public function setResource()
 {
     $fixture = new RestRequest();
     $fixture->setResource('/issues');
     $this->assertEquals('/issues', $fixture->getResource());
 }