public function testSmall() { $tag = new Button('foo', Button::TYPE_INFO); $tag->small(); $this->assertEquals('<button class="btn btn-info btn-sm" type="button">foo</button>', $tag->getHTML()); }
/** * @return $this */ public function small() { $this->uiElement->small(); return $this; }