public function testStriped() { $tag = new ProgressBar('10'); $tag->striped(); $this->assertEquals('<div class="progress progress-striped">' . '<div class="progress-bar" role="progress" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100" style="width="10%"">' . '<span class="sr-only">' . '10%' . '</span>' . '</div>' . '</div>', $tag->getHTML()); }
/** * @return $this */ public function stripped() { $this->uiElement->striped(); return $this; }