public function resolveValueReturnsTrueAndSetTheValueToTheCorrectlyCasedIdentifierIfTheValueToBeResolvedIsAnObjectAndLowerCaseIsFalse()
{
$object = new \stdClass();
$this->mockPersistenceManager->expects($this->once())->method('getIdentifierByObject')->with($object)->will($this->returnValue('TheIdentifier'));
$this->dynamicRoutPart->setLowerCase(false);
$this->assertTrue($this->dynamicRoutPart->_call('resolveValue', $object));
$this->assertSame('TheIdentifier', $this->dynamicRoutPart->getValue());
}