/** * @covers Xmf\Highlighter::apply * @todo Implement testApply(). */ public function testApply() { $output = Highlighter::apply('test', 'This test is OK.'); $this->assertEquals($output, 'This <strong>test</strong> is OK.'); $output = Highlighter::apply(array('test', 'ok'), 'This test is OK.', '<i>', '</i>'); $this->assertEquals($output, 'This <i>test</i> is <i>OK</i>.'); }