public function removeAChunk($delimiter) { if ($this->getChunk($delimiter)) { unset($this->chunks[$delimiter]); $this->file->write(implode("\n", $this->chunks)); $this->refreshAllLinesTextFileClassVariables(); } }
public function testWrite() { $this->file->write("hasan gilak"); $this->assertEquals("hasan gilak", $this->file->content()); }