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

AbstractHandlerTest::testShouldReturnsTheHandlerClassOnGetExceptionHandler()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
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