CoreDomainExceptionSpec::it_is_initializable()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace spec\Hexarchium\CoreDomain\Exception;
4
5
use Hexarchium\CoreDomain\Exception\CoreDomainException;
6
use PhpSpec\ObjectBehavior;
7
8
class CoreDomainExceptionSpec extends ObjectBehavior
9
{
10
    function it_is_initializable()
11
    {
12
        $this->shouldHaveType(CoreDomainException::class);
13
        $this->shouldBeAnInstanceOf(\Exception::class);
14
    }
15
}
16