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

InvalidArgumentExceptionTest   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;
6
7
use PHPUnit\Framework\TestCase;
8
use TMV\Laminas\Messenger\Exception\ExceptionInterface;
9
use TMV\Laminas\Messenger\Exception\InvalidArgumentException;
10
11
class InvalidArgumentExceptionTest extends TestCase
12
{
13
    public function testInstance(): void
14
    {
15
        $this->assertInstanceOf(ExceptionInterface::class, new InvalidArgumentException());
16
        $this->assertInstanceOf(\InvalidArgumentException::class, new InvalidArgumentException());
17
    }
18
}
19