public function routePartHandlerIsInstantiated()
{
$this->route->setUriPattern('{key1}/{key2}');
$this->route->setRoutePartsConfiguration(['key1' => ['handler' => 'SomeRoutePartHandler']]);
$mockRoutePartHandler = $this->createMock(Routing\DynamicRoutePartInterface::class);
$this->mockObjectManager->expects($this->once())->method('get')->with('SomeRoutePartHandler')->will($this->returnValue($mockRoutePartHandler));
$this->route->parse();
}