/** * */ function test_regex() { $route = new Route([Arg::REGEX => 'foo']); $this->assertEquals('foo', $route->regex()); }