Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | public function testGetFileName( $filename, $expected ) { |
||
44 | |||
45 | $parameters = [ |
||
46 | 'filename' => $filename |
||
47 | ]; |
||
48 | |||
49 | $instance = new vCardFileExportPrinter( |
||
50 | 'vcard' |
||
51 | ); |
||
52 | |||
53 | $this->resultPrinterReflector->addParameters( $instance, $parameters ); |
||
54 | |||
55 | $this->assertEquals( |
||
56 | $expected, |
||
57 | $instance->getFileName( $this->queryResult ) |
||
58 | ); |
||
59 | } |
||
60 | |||
92 |