diff --git a/tests/sokolnikov911/YandexTurboPages/helpers/ContentButtonTest.php b/tests/sokolnikov911/YandexTurboPages/helpers/ContentButtonTest.php index d9e3e40..90f62ff 100644 --- a/tests/sokolnikov911/YandexTurboPages/helpers/ContentButtonTest.php +++ b/tests/sokolnikov911/YandexTurboPages/helpers/ContentButtonTest.php @@ -47,4 +47,12 @@ public function testBaseButton() formaction=\"" . $this->url . "\">" . $this->text . ""; $this->assertXmlStringEqualsXmlString($baseButton, $button); } + + /** + * @expectedException \UnexpectedValueException + */ + public function testButtonException() + { + Content::button($this->text); + } } \ No newline at end of file