| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | class BadDataTablesCSVExporterExceptionTest extends AbstractTestCase { |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Test __construct() |
||
| 29 | * |
||
| 30 | * @return void |
||
| 31 | */ |
||
| 32 | public function test__construct(): void { |
||
| 33 | |||
| 34 | $obj = new BadDataTablesCSVExporterException(new Exception()); |
||
| 35 | |||
| 36 | $this->assertEquals('The DataTables CSV exporter "Exception" must implement ' . DataTablesCSVExporterInterface::class, $obj->getMessage()); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Test __construct() |
||
| 41 | * |
||
| 42 | * @return void |
||
| 43 | */ |
||
| 44 | public function test__constructWithNull(): void { |
||
| 49 | } |
||
| 50 | } |
||
| 51 |