IdentifierTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testUuidConstruction() 0 4 1
1
<?php
2
3
namespace JobQueue\Tests\Domain\Task;
4
5
use JobQueue\Domain\Task\Identifier;
6
use PHPUnit\Framework\TestCase;
7
use Ramsey\Uuid\Uuid;
8
9
final class IdentifierTest extends TestCase
10
{
11
    public function testUuidConstruction()
12
    {
13
        $identifier = new Identifier;
14
        $this->assertTrue(Uuid::isValid($identifier));
15
    }
16
}
17