public function testHtml()
{
$tag = new Tag();
$this->assertEquals('<p>', $tag->openHtmlTag('p'));
$this->assertEquals('<img src="test" alt="truc"/>', $tag->openHtmlTag('img', 'src="test" alt="truc"'));
$this->assertEquals('<img/>', $tag->openHtmlTag('img'));
$this->assertEquals('<br/>', $tag->openHtmlTag('br'));
$this->assertEquals('</p>', $tag->closeHtmlTag('p'));
$this->assertEquals('', $tag->closeHtmlTag('img'));
$this->assertEquals('', $tag->closeHtmlTag('br'));
}