PKITypeTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testTypes() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Bip70\Test\X509;
6
7
use Bip70\X509\PKIType;
8
use PHPUnit\Framework\TestCase;
9
10
class PKITypeTest extends TestCase
11
{
12
    public function testTypes()
13
    {
14
        $this->assertEquals("none", PKIType::NONE);
15
        $this->assertEquals("x509+sha1", PKIType::X509_SHA1);
16
        $this->assertEquals("x509+sha256", PKIType::X509_SHA256);
17
    }
18
}
19