public function routeMatchesRequestPathWithOnlyRequiredPartsIfUriPatternContainsOneOptionalAndOneRequiredStaticRoutePart() { $this->route->setUriPattern('(optional)required'); $this->assertTrue($this->routeMatchesPath('required')); }