Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
50 | public function testDocumentTemplate($format) |
||
51 | { |
||
52 | $path = $this->getDocument('documentTemplate.csv', $format); |
||
53 | |||
54 | static::assertFileExists($path, 'File does not exist'); |
||
55 | static::assertGreaterThan(0, filesize($path), 'File is empty'); |
||
56 | static::assertEquals("\"Hello2\",\"World\"".PHP_EOL."\"Foo\",\"Bar2\"".PHP_EOL, file_get_contents($path), 'Unexpected content'); |
||
57 | } |
||
58 | } |
||
59 |