1 | <?php |
||
8 | class FileLineIteratorTest extends PHPUnit_Framework_TestCase |
||
9 | { |
||
10 | /** @test */ |
||
11 | public function testReadingFileLines() |
||
23 | |||
24 | /** @test */ |
||
25 | public function testClosingHandle() |
||
30 | |||
31 | /** @test */ |
||
32 | public function testReadingFileLinesFromFile() |
||
37 | |||
38 | /** |
||
39 | * @test |
||
40 | * @expectedException InvalidArgumentException |
||
41 | */ |
||
42 | public function testFileLineIteratorWithInvalidOptions() |
||
46 | |||
47 | /** |
||
48 | * @test |
||
49 | * @expectedException InvalidArgumentException |
||
50 | */ |
||
51 | public function testFileLineIteratorWithNonExistingFilePath() |
||
55 | |||
56 | /** |
||
57 | * @test |
||
58 | * @expectedException InvalidArgumentException |
||
59 | */ |
||
60 | public function testFileLineIteratorWithInvalidArguments() |
||
64 | |||
65 | /** @test */ |
||
66 | public function testFileCsvWithCustomCharacterEncoding() |
||
72 | |||
73 | protected function getMemoryFileHandle($content) |
||
80 | } |
||
81 | |||
82 |