mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
0d7b8c2b7a
This also includes heavy use of slevomat/coding-standard to apply various checks to the code, based on maintainer (me) preference.
20 lines
471 B
PHP
20 lines
471 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Ramsey\Uuid\Test\Generator;
|
|
|
|
use Ramsey\Uuid\Generator\RandomBytesGenerator;
|
|
use Ramsey\Uuid\Generator\RandomGeneratorFactory;
|
|
use Ramsey\Uuid\Test\TestCase;
|
|
|
|
class RandomGeneratorFactoryTest extends TestCase
|
|
{
|
|
public function testFactoryReturnsRandomBytesGenerator(): void
|
|
{
|
|
$generator = RandomGeneratorFactory::getGenerator();
|
|
|
|
$this->assertInstanceOf(RandomBytesGenerator::class, $generator);
|
|
}
|
|
}
|