/**
* @test
*/
public function unregisterReconstitutedEntityRemovesObjectFromSession()
{
$someObject = new \ArrayObject([]);
$session = new Persistence\Generic\Session();
$session->registerObject($someObject, 'fakeUuid');
$session->registerReconstitutedEntity($someObject, ['identifier' => 'fakeUuid']);
$session->unregisterReconstitutedEntity($someObject);
$ReconstitutedEntities = $session->getReconstitutedEntities();
$this->assertFalse($ReconstitutedEntities->contains($someObject));
}