public function routeMatchesRequestPathContainingAllOfTheOptionalRouteParts() { $this->route->setUriPattern('page(.{@format})'); $this->route->setDefaults(['@format' => 'html']); $this->assertTrue($this->routeMatchesPath('page.html')); }