public function testHtmlException() { $button = new Button(); $this->setExpectedException('InvalidArgumentException'); $button->toHtml([]); }