public function testImage()
{
$result = $this->html->image('test.gif');
$this->assertTags($result, array('img' => array('src' => '/img/test.gif', 'alt' => '')));
$result = $this->html->image('http://example.com/logo.gif');
$this->assertTags($result, array('img' => array('src' => 'http://example.com/logo.gif', 'alt' => '')));
$result = $this->html->image(array('controller' => 'test', 'action' => 'view', 'id' => '1', 'type' => 'gif'));
$this->assertTags($result, array('img' => array('src' => '/test/view/1.gif', 'alt' => '')));
$result = $this->html->image('/test/view/1.gif');
$this->assertTags($result, array('img' => array('src' => '/test/view/1.gif', 'alt' => '')));
}