/** * @return $this */ public function fa() { $this->uiElement->fontAwesome(); return $this; }
public function testFontAwesome() { $tag = new Icon('foo', false); $tag->fontAwesome(); $this->assertEquals('<i class="fa fa-foo"></i>', $tag->getHTML()); }