public function pluralize($word, $number) { if ($number == 1) { return $word; } else { return $this->textService->pluralize($word); } }
public function testStripMarkdown_Emails() { $this->assertEquals('websupport@camdram.net can be used for support', $this->textService->stripMarkdown('[E:websupport@camdram.net] can be used for support')); $this->assertEquals('The support email can be used for support', $this->textService->stripMarkdown('The [E:websupport@camdram.net;support email] can be used for support')); }