public function testHtmlButton() { $I = $this->codeGuy; $html = TbHtml::htmlButton('Button', array('class' => 'button', 'name' => 'button')); $button = $I->createNode($html, 'button[type=button].btn'); $I->seeNodeCssClass($button, 'button'); $I->seeNodeAttribute($button, 'name', 'button'); $I->seeNodeText($button, 'Button'); }