Passed
Push — master ( 7a5018...5ee49d )
by Alessandro
01:01 queued 10s
created

CardIdTest::testCreateFromId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Tests\ValueObject;
4
5
use PHPUnit\Framework\TestCase;
6
use TrelloCycleTime\ValueObject\CardId;
7
8
class CardIdTest extends TestCase
9
{
10
    public function testCreateFromId()
11
    {
12
        $id = 'fooId';
13
        $cardId = CardId::createFromId($id);
14
15
        $this->assertEquals($id, $cardId->getId());
16
17
    }
18
}