public function test_uri_is_prepended_with_slash() { $route = new Route(['GET'], '/', function () { }); $this->assertEquals('/', $route->uri()); $route = new Route(['GET'], 'test', function () { }); $this->assertEquals('/test', $route->uri()); $route = new Route(['GET'], '/test', function () { }); $this->assertEquals('/test', $route->uri()); }