public function resolveValueSetsTheRouteValueToTheUrlEncodedIdentifierIfNoUriPatternIsSpecified()
{
$value = ['__identity' => 'Some Identifier'];
$this->mockObjectPathMappingRepository->expects($this->never())->method('findOneByObjectTypeUriPatternAndIdentifier');
$this->identityRoutePart->setObjectType('stdClass');
$this->identityRoutePart->_call('resolveValue', $value);
$this->assertSame('Some%20Identifier', $this->identityRoutePart->getValue());
$this->assertNotSame('Some+Identifier', $this->identityRoutePart->getValue());
}