5require_once(__DIR__ . 
"/TestComponent.php");
 
    9    use \ILIAS\UI\Implementation\Render\LoaderHelper;
 
   13        $c1 = new \ILIAS\UI\Component\Test\TestComponent(
"foo");
 
   14        $c2 = new \ILIAS\UI\Implementation\Component\Glyph\Glyph(
"up", 
"up");
 
   15        $names = $this->getContextNames([$c1, $c2]);
 
   16        $expected = [
"TestComponentTest", 
"GlyphGlyph"];
 
   17        $this->assertEquals($expected, 
$names);
 
An exception for terminatinating execution or to throw for unit testing.