public function testSince() { $route = new Route(['method' => 'GET', 'path' => '/root', 'since' => '2.3']); $this->assertEquals('{version:(?:[2-9]\\.[3-9])|(?:[3-9]\\.\\d)}', $route->version); }