/**
  * @test
  */
 public function parseSetsUriPatternOfIdentityRoutePartIfSpecified()
 {
     $this->route->setUriPattern('{key1}');
     $this->route->setRoutePartsConfiguration(array('key1' => array('objectType' => 'SomeObjectType', 'uriPattern' => 'SomeUriPattern')));
     $this->route->parse();
     $identityRoutePart = current($this->route->_get('routeParts'));
     $this->assertSame('SomeUriPattern', $identityRoutePart->getUriPattern());
 }