public function testCollapseLink() { $I = $this->codeGuy; $html = TbHtml::collapseLink('Link', '#', array('class' => 'link')); $a = $I->createNode($html, 'a[data-toggle=collapse]'); $I->seeNodeCssClass($a, 'link'); $I->seeNodeAttribute($a, 'href', '#'); $I->seeNodeText($a, 'Link'); }