PKITypeTest::testTypes()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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