public function testLink() { $this->assertEquals('/', Anchor::link('TestController::home')); $this->assertEquals('/test-controller/5/dynamic', Anchor::link('TestController::dynamic id', 5)); $this->assertEquals('/test-controller/5-this_is_the_slug/dynamic', Anchor::link('TestController::dynamic id slug', 5, 'this_is_the_slug')); }