resolves() публичный Метод

If all Route Parts can resolve one or more of the $routeValues, TRUE is returned and $this->matchingURI contains the generated URI (excluding protocol and host).
public resolves ( array $routeValues ) : boolean
$routeValues array An array containing key/value pairs to be resolved to uri segments
Результат boolean TRUE if this Route corresponds to the given $routeValues, otherwise FALSE
 /**
  * @test
  * @expectedException \Neos\Flow\Mvc\Exception\InvalidRoutePartValueException
  */
 public function resolvesThrowsExceptionIfRoutePartDefaultValueIsNoString()
 {
     $mockRoutePart = $this->createMock(Routing\RoutePartInterface::class);
     $mockRoutePart->expects($this->any())->method('resolve')->will($this->returnValue(true));
     $mockRoutePart->expects($this->any())->method('hasValue')->will($this->returnValue(false));
     $mockRoutePart->expects($this->once())->method('getDefaultValue')->will($this->returnValue(['not a' => 'string']));
     $this->route->setUriPattern('foo');
     $this->route->_set('isParsed', true);
     $this->route->_set('routeParts', [$mockRoutePart]);
     $this->route->resolves([]);
 }