Completed
Push — master ( 3b3980...4ce207 )
by Gorka
9s
created

it_is_initializable()   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
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Spec\Kreta\SharedKernel\Domain\Model\Identity;
4
5
use Kreta\SharedKernel\Domain\Model\Identity\EmailAddressInvalidException;
6
use Kreta\SharedKernel\Domain\Model\InvalidArgumentException;
7
use PhpSpec\ObjectBehavior;
8
9
class EmailAddressInvalidExceptionSpec extends ObjectBehavior
10
{
11
    function it_is_initializable()
12
    {
13
        $this->shouldHaveType(EmailAddressInvalidException::class);
14
    }
15
16
    function it_extends_invalid_argument_exception()
17
    {
18
        $this->shouldHaveType(InvalidArgumentException::class);
19
    }
20
}
21