public function testCloseLink() { $I = $this->codeGuy; $html = TbHtml::closeLink('Close', '#', array('class' => 'link', 'dismiss' => TbHtml::CLOSE_DISMISS_ALERT)); $a = $I->createNode($html, 'a[type=button].close'); $I->seeNodeCssClass($a, 'link'); $I->seeNodeAttributes($a, array('href' => '#', 'data-dismiss' => 'alert')); $I->seeNodeText($a, 'Close'); }