Files
piratepoet/tests/unit/Form/Block/DividerTest.php
Rostislav Wolny 778576e674 Add divider and custom html tests
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00

21 lines
415 B
PHP

<?php
namespace MailPoet\Test\Form\Block;
use MailPoet\Form\Block\Divider;
class DividerTest extends \MailPoetUnitTest {
/** @var Divider */
private $divider;
public function _before() {
parent::_before();
$this->divider = new Divider();
}
public function testItShouldRenderDivider() {
$html = $this->divider->render();
expect($html)->equals('<hr class="mailpoet_divider" />');
}
}