public function testDetectLinks_Emails() { $this->assertEquals('The email <a href="mailto:websupport@camdram.net">websupport@camdram.net</a> can be used for support', $this->textService->detectLinks('The email websupport@camdram.net can be used for support')); }
public function detectLinks($text) { return $this->textService->detectLinks($text); }