/**
* @expectedException \RuntimeException
*/
public function testUrlWithoutStartWithSlash()
{
$item = new Item('Test of content', 'index.html', ['title' => 'My posts']);
$event = new RenderEvent($item, Item::SNAPSHOT_RAW, Item::SNAPSHOT_PATH_RELATIVE);
$event->setRelativeUrl('index.html');
}