ProfileTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testBadProfileName() 0 5 1
1
<?php
2
3
namespace JobQueue\Tests\Domain\Task;
4
5
use JobQueue\Domain\Task\Profile;
6
use PHPUnit\Framework\TestCase;
7
8
final class ProfileTest extends TestCase
9
{
10
    public function testBadProfileName()
11
    {
12
        $this->expectException(\RuntimeException::class);
13
14
        new Profile('Bad> <character');
15
    }
16
}
17