Total Complexity | 2 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class AbstractDriverExceptionTest extends TestCase |
||
11 | { |
||
12 | public function testCanSetPreviousException() |
||
13 | { |
||
14 | $previous = new Exception(); |
||
15 | |||
16 | $abstractDriverException = new class($previous) extends AbstractDriverException { |
||
17 | public function __construct(Throwable $previous) |
||
24 | } |
||
25 | } |
||
26 |