';
$viewHelper = new Msd_View_Helper_GetIcon();
$res = $viewHelper->getIcon('Edit', '', 16);
$this->assertEquals($expected, $res);
}
public function testGetIconEditWithTitle()
{
$expected = '';
$viewHelper = new Msd_View_Helper_GetIcon();
$res = $viewHelper->getIcon('Edit', 'Titletest', 16);
$this->assertEquals($expected, $res);
}
public function testGetIconInfoSize16()
{
$expected = '';
$viewHelper = new Msd_View_Helper_GetIcon();
$res = $viewHelper->getIcon('Info', '', 16);
$this->assertEquals($expected, $res);
}
public function testGetIconInfoSize20()
{
$expected = '';
$viewHelper = new Msd_View_Helper_GetIcon();
$res = $viewHelper->getIcon('Info', '', 20);
$this->assertEquals($expected, $res);
}
/**
* @expectedException Msd_Exception
*/
public function testFailGetNonExistantIcon()
{
$viewHelper = new Msd_View_Helper_GetIcon();
$viewHelper->getIcon('nonExistantIcon');
}
public function testGetIconWithoutSize()
{
$expected = '';
$viewHelper = new Msd_View_Helper_GetIcon();
$res = $viewHelper->getIcon('minus');
$this->assertEquals($expected, $res);
}
}