3require_once(__DIR__ .
'/ModalBase.php');
5use \ILIAS\UI\Component as
C;
17 $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Modal\\Factory",
$factory);
19 $interruptive =
$factory->interruptive(
'myTitle',
'myMessage',
'myFormAction');
20 $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Modal\\Interruptive", $interruptive);
23 $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Modal\\RoundTrip", $round_trip);
26 $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Modal\\LightBox", $lightbox);
An exception for terminatinating execution or to throw for unit testing.
Base class for modal tests.
Tests on factory implementation for modals.
test_implements_factory_interface()