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