public function writeLine($str = '') { $this->write($str . "\n"); }
public function testWriteLine() { $writer = new TTextWriter(); $writer->writeLine('some text'); self::assertEquals("some text\n", $writer->flush()); }