Completed
Push — master ( 76543c...2a0b01 )
by Tomasz
02:23
created

DomainNotFoundExceptionSpec::it_is_initializable()   A

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\Model\Domain\Exception;
4
5
use Hexarchium\CoreDomain\Exception\CodeDomainException;
6
use Hexarchium\CoreDomain\Model\Domain\Exception\DomainNotFoundException;
7
use PhpSpec\ObjectBehavior;
8
use Prophecy\Argument;
9
10
class DomainNotFoundExceptionSpec extends ObjectBehavior
11
{
12
    function it_is_initializable()
13
    {
14
        $this->shouldHaveType(DomainNotFoundException::class);
15
        $this->shouldBeAnInstanceOf(CodeDomainException::class);
16
    }
17
}
18