| Total Complexity | 2 |
| Total Lines | 61 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ConnectionTraitGetConnectionWithExceptionUnitTest extends ConnectionTraitTests |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Data provider for the test testGetConnectionException |
||
| 13 | * |
||
| 14 | * @return array testing data |
||
| 15 | */ |
||
| 16 | public function getConnectionExceptionDataProvider(): array |
||
| 47 | } |
||
| 48 | ] |
||
| 49 | ]; |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Testing exception |
||
| 54 | * |
||
| 55 | * @param callable $setup |
||
| 56 | * setup method |
||
| 57 | * @dataProvider getConnectionExceptionDataProvider |
||
| 58 | */ |
||
| 59 | public function testGetConnectionException(callable $setup): void |
||
| 71 |