<?php declare(strict_types=1);


namespace Newland\Toubiz\Sync\Neos\Tests\Unit\Orm\Uuid\Fixtures;

use Newland\Toubiz\Sync\Neos\Orm\Uuid\CustomUuidGeneration;
use Ramsey\Uuid\UuidInterface;
class MockWithCustomUuidGeneration implements CustomUuidGeneration
{

    /** @var UuidInterface */
    public $uuidThatWillBeGenerated;

    /** @var int */
    public $generateUuidCalls = 0;

    public function generateUuid(): UuidInterface
    {
        $this->generateUuidCalls++;
        return $this->uuidThatWillBeGenerated;
    }
}