Passed
Push — 2.0 ( f5ddb0...24c833 )
by Samuel
02:58 queued 47s
created

AbstractHandlerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1
1
<?php
2
3
namespace SMartins\Exceptions\Tests\Unit;
4
5
use SMartins\Exceptions\Tests\TestCase;
6
use SMartins\Exceptions\Handlers\Handler;
7
8
class AbstractHandlerTest extends TestCase
9
{
10
    public function testShouldReturnsTheHandlerClassOnGetExceptionHandler()
11
    {
12
        $handler = new Handler(new \Exception);
13
14
        $this->assertInstanceOf(Handler::class, $handler->getExceptionHandler());
15
    }
16
}
17