public function path() { $r = new RestRoute('GET', '/resource', $this->handler, $this->target, NULL, NULL); $this->assertEquals('/resource', $r->getPath()); }