public function registeredRoutePartHandlerIsInvokedWhenCallingResolve()
{
$this->route->setUriPattern('{key1}/{key2}');
$this->route->setRoutePartsConfiguration(['key1' => ['handler' => MockRoutePartHandler::class]]);
$this->routeValues = ['key2' => 'value2'];
$mockRoutePartHandler = new MockRoutePartHandler();
$this->mockObjectManager->expects($this->once())->method('get')->with(MockRoutePartHandler::class)->will($this->returnValue($mockRoutePartHandler));
$this->route->resolves($this->routeValues);
$this->assertEquals('_resolve_invoked_/value2', $this->route->getResolvedUriPath());
}