mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Add NameGeneratorInterface and generators for v3 and v5 UUIDs
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Ramsey\Uuid\Test\Generator;
|
||||
|
||||
use Ramsey\Uuid\Generator\DefaultNameGenerator;
|
||||
use Ramsey\Uuid\Generator\NameGeneratorFactory;
|
||||
use Ramsey\Uuid\Test\TestCase;
|
||||
|
||||
class NameGeneratorFactoryTest extends TestCase
|
||||
{
|
||||
public function testGetGenerator(): void
|
||||
{
|
||||
$factory = new NameGeneratorFactory();
|
||||
|
||||
$this->assertInstanceOf(DefaultNameGenerator::class, $factory->getGenerator());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user