public static function blockAlert($color, $message, $htmlOptions = array())
{
$htmlOptions['block'] = true;
return self::alert($color, $message, $htmlOptions);
}
public function testBlockAlert() { $I = $this->codeGuy; $html = TbHtml::blockAlert(TbHtml::ALERT_COLOR_WARNING, 'Alert message'); $alert = $I->createNode($html, 'div.alert'); $I->seeNodeCssClass($alert, 'alert-warning alert-block fade in'); $I->seeNodeText($alert, 'Alert message'); $I->seeNodeChildren($alert, array('div.alert > a[type=button].close')); }