public function testPathAndHandlerAreAccessibleAfterInstantiation() { $path = '/foo'; $handler = function () { }; $route = new Route($path, $handler); $this->assertSame($path, $route->path); $this->assertSame($handler, $route->handler); }