public function routeMatchesRequestPathWithOnlyRequiredPartsIfUriPatternEndsWithTwoSuccessiveOptionalRouteParts() { $this->route->setUriPattern('required(/optional1/optional2)'); $this->assertTrue($this->routeMatchesPath('required')); }