5require_once(__DIR__ . 
"/../../../../libs/composer/vendor/autoload.php");
 
    6require_once(__DIR__ . 
"/../../Base.php");
 
    8use \ILIAS\UI\Component as 
C;
 
   21        return new \ILIAS\UI\Implementation\Factory();
 
   28        $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Divider\\Horizontal", $f->divider()->horizontal());
 
   34        $c = $f->divider()->horizontal()->withLabel(
"label");
 
   36        $this->assertEquals($c->getLabel(), 
"label");
 
   44        $c = $f->divider()->horizontal();
 
   48        $expected_html = 
"<hr/>";
 
   58        $c = $f->divider()->horizontal()->withLabel(
"label");
 
   61        $expected_html = 
'<hr class="il-divider-with-label" /><h6 class="il-divider">label</h6>';
 
An exception for terminatinating execution or to throw for unit testing.
Test on divider implementation.
test_implements_factory_interface()
test_render_horizontal_with_label()
test_render_horizontal_empty()
Provides common functionality for UI tests.
assertHTMLEquals($expected_html_as_string, $html_as_string)
getDefaultRenderer(JavaScriptBinding $js_binding=null)