public function testParseUrl() { $md = 'Website: http://example.com'; $html = $this->parser->parseParagraph($md); $this->assertEquals('Website: <a rel="noreferrer" href="http://example.com">http://example.com</a>', $html); }