public function convertFromReturnsTargetNotFoundErrorIfHandleArrayDataFails()
{
$identifier = '550e8400-e29b-11d4-a716-446655440000';
$object = new \stdClass();
$object->someProperty = 'asdf';
$source = ['__identity' => $identifier, 'foo' => 'bar'];
$this->mockPersistenceManager->expects($this->once())->method('getObjectByIdentifier')->with($identifier)->will($this->returnValue(null));
$actualResult = $this->converter->convertFrom($source, 'MySpecialType', ['foo' => 'bar']);
$this->assertInstanceOf(TargetNotFoundError::class, $actualResult);
}