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