public function testSetPath()
{
$route = $this->getRouteFixture();
$route->setPath('/new/path/:id');
$this->assertEquals('/new/path/:id', $route->getPath());
//Path without leading slash and space suffix
$route->setPath('path-without-leading-slash ');
$this->assertEquals('/path-without-leading-slash', $route->getPath());
//utf-8 characters in the path
$utf8 = "рецепт";
$route->setPath("/" . $utf8 . "/recipe");
$this->assertEquals("/" . $utf8 . "/recipe", $route->getPath());
}