mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
18 lines
439 B
PHP
18 lines
439 B
PHP
<?php
|
|
|
|
namespace Ramsey\Uuid\Test\Generator;
|
|
|
|
use Ramsey\Uuid\Generator\RandomBytesGenerator;
|
|
use Ramsey\Uuid\Test\TestCase;
|
|
use Ramsey\Uuid\Generator\RandomGeneratorFactory;
|
|
|
|
class RandomGeneratorFactoryTest extends TestCase
|
|
{
|
|
public function testFactoryReturnsRandomBytesGenerator()
|
|
{
|
|
$generator = RandomGeneratorFactory::getGenerator();
|
|
|
|
$this->assertInstanceOf(RandomBytesGenerator::class, $generator);
|
|
}
|
|
}
|