Passed
Push — master ( b2b84f...109e7c )
by Thomas Mauro
03:02
created

NotFoundExceptionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 8
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace TMV\Laminas\Messenger\Test\Exception;
6
7
use InvalidArgumentException;
8
use PHPUnit\Framework\TestCase;
9
use TMV\Laminas\Messenger\Exception\ExceptionInterface;
10
use TMV\Laminas\Messenger\Exception\NotFoundException;
11
12
class NotFoundExceptionTest extends TestCase
13
{
14
    public function testInstance(): void
15
    {
16
        $this->assertInstanceOf(ExceptionInterface::class, new NotFoundException());
17
        $this->assertInstanceOf(InvalidArgumentException::class, new NotFoundException());
18
    }
19
}
20