19 declare(strict_types=1);
21 require_once(__DIR__ .
'/ModalBase.php');
33 $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Modal\\Factory", $factory);
35 $interruptive = $factory->interruptive(
'myTitle',
'myMessage',
'myFormAction');
36 $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Modal\\Interruptive", $interruptive);
39 $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Modal\\RoundTrip", $round_trip);
42 $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Modal\\LightBox", $lightbox);
testImplementsFactoryInterface()
Base class for modal tests.
Tests on factory implementation for modals.