public function readLineByLine(Closure $callback) { $lines = $this->file->extractAllLinesIntoArray(); array_map($callback, $lines); }
public function testExtractAllLinesIntoArray() { $this->assertEquals($this->data, $this->file->extractAllLinesIntoArray()); }