NoExistingRouteTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 9
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testValidatedBy() 0 6 1
1
<?php
2
3
namespace Beelab\SimplePageBundle\Tests\Validator\Constraints;
4
5
use Beelab\SimplePageBundle\Validator\Constraints\NoExistingRoute;
6
use PHPUnit\Framework\TestCase;
7
8
final class NoExistingRouteTest extends TestCase
9
{
10
    public function testValidatedBy(): void
11
    {
12
        $constraint = new NoExistingRoute();
13
14
        $this->assertEquals('no_existing_route', $constraint->validatedBy());
15
    }
16
}
17