public static function setUnitOfWorkEntityChangeSet($entity, $changeSet, $unitOfWork)
    {
        $reflectionClass = new ReflectionClass(UnitOfWork::class);

        $reflectionProperty = $reflectionClass->getProperty('entityChangeSets');
        $reflectionProperty->setAccessible(true);

        $changeSetFull = $reflectionProperty->getValue($unitOfWork);
        $changeSetFull[$oid = spl_object_hash($entity)] = $changeSet;

        $reflectionProperty->setValue($unitOfWork, $changeSetFull);
    }