Add NameGeneratorInterface and generators for v3 and v5 UUIDs

This commit is contained in:
Ben Ramsey
2020-02-08 13:12:20 -06:00
parent e5357f2c8a
commit 0bff9e8660
17 changed files with 525 additions and 8 deletions
@@ -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());
}
}