SecurityProfileTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_to_string() 0 7 1
1
<?php
2
3
namespace Fhp\DataElementGroups;
4
5
class SecurityProfileTest extends \PHPUnit_Framework_TestCase
6
{
7
    public function test_to_string()
8
    {
9
        $e = new SecurityProfile(SecurityProfile::PROFILE_PIN, SecurityProfile::PROFILE_VERSION_2);
10
11
        $this->assertEquals('PIN:2', (string) $e);
12
        $this->assertEquals('PIN:2', $e->toString());
13
    }
14
}
15