public function testResolve() { $this->assertEquals('TestController::home', Anchor::resolve('/')); $this->assertEquals('TestController::dynamic', Anchor::resolve('/test_controller/5/dynamic')); $this->assertEquals('TestController::dynamic', Anchor::resolve('/test_controller/5-here_is_the_slug/dynamic')); }