Completed
Push — master ( e6fe6f...a29d2d )
by Hannes
09:33
created

PersonalIdNodeSpec::it_implements_node_interface()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace spec\byrokrat\autogiro\Tree;
6
7
use byrokrat\autogiro\Tree\PersonalIdNode;
8
use byrokrat\autogiro\Tree\Node;
9
use PhpSpec\ObjectBehavior;
10
11
class PersonalIdNodeSpec extends ObjectBehavior
12
{
13
    function it_is_initializable()
14
    {
15
        $this->shouldHaveType(PersonalIdNode::CLASS);
16
    }
17
18
    function it_implements_node_interface()
19
    {
20
        $this->shouldHaveType(Node::CLASS);
21
    }
22
23
    function it_contains_a_type()
24
    {
25
        $this->getType()->shouldEqual('PersonalIdNode');
26
    }
27
}
28