Пример #1
0
 public function removeALine($lineNumber)
 {
     $this->file->removeALine($lineNumber);
     $this->refreshAllLinesTextFileClassVariables();
     return $this;
 }
Пример #2
0
 public function testRemoveALine()
 {
     $this->file->removeALine(0);
     unset($this->data[0]);
     $this->assertEquals(implode("\n", $this->data), $this->file->content());
 }