public function testStripNewLines() { $this->assertEquals('A quick brown fox', $this->textService->stripNewLines("A quick\r brown fox")); $this->assertEquals('A quick brown fox', $this->textService->stripNewLines("A quick\n brown fox")); $this->assertEquals('A quick brown fox', $this->textService->stripNewLines("A quick\r\n brown fox")); }
public function stripNewLines($text) { return $this->textService->stripNewLines($text); }