| Conditions | 3 |
| Paths | 4 |
| Total Lines | 21 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | ->getMock(); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function testCanConstruct() { |
||
| 33 | |||
| 34 | $this->assertInstanceOf( |
||
| 35 | BibTexFileExportPrinter::class, |
||
| 36 | new BibTexFileExportPrinter( 'bibtex' ) |
||
| 37 | ); |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @dataProvider filenameProvider |
||
| 42 | */ |
||
| 43 | public function testGetFileName( $filename, $expected ) { |
||
| 44 | |||
| 45 | $parameters = [ |
||
| 46 | 'filename' => $filename |
||
| 47 | ]; |
||
| 48 | |||
| 49 | $instance = new BibTexFileExportPrinter( |
||
| 50 | 'bibtex' |
||
| 92 |