public function removeALine($lineNumber) { $this->file->removeALine($lineNumber); $this->refreshAllLinesTextFileClassVariables(); return $this; }
public function testRemoveALine() { $this->file->removeALine(0); unset($this->data[0]); $this->assertEquals(implode("\n", $this->data), $this->file->content()); }