public function testCarouselNextLink() { $I = $this->codeGuy; $html = TbHtml::carouselNextLink('Next', '#', array('class' => 'link')); $a = $I->createNode($html, 'a.carousel-control.right'); $I->seeNodeCssClass($a, 'link'); $I->seeNodeAttributes($a, array('href' => '#', 'data-slide' => 'next')); $I->seeNodeText($a, 'Next'); }