public function testLinkWithWarning() { $button = Button::warning_link('#', 'foo', $this->testAttributes)->__toString(); $this->assertEquals('<a class="foo btn-warning btn" data-foo="bar" href="#">foo</a>', $button); }