Definition at line 32 of file BaseToastSetUp.php.
◆ getDIC()
| BaseToastSetUp::getDIC |
( |
| ) |
|
◆ getDummyToastProviderWithToasts()
| BaseToastSetUp::getDummyToastProviderWithToasts |
( |
array |
$toasts | ) |
|
◆ setUp()
| BaseToastSetUp::setUp |
( |
| ) |
|
|
protected |
@inheritDoc
Definition at line 43 of file BaseToastSetUp.php.
43 : void
44 {
45 parent::setUp();
46
47 $this->ui_mock = $this->createMock(\
ILIAS\
DI\UIServices::class);
48 $this->provider = $this->createMock(ToastProvider::class);
49 $this->provider->expects($this->any())->method('getProviderNameForPresentation')->willReturn('Provider');
50 $this->factory = (
new ToastServices($this->ui_mock))->factory();
51 }
◆ $factory
◆ $provider
◆ $toasts
| array BaseToastSetUp::$toasts = [] |
|
private |
◆ $ui_mock
| ILIAS DI UIServices BaseToastSetUp::$ui_mock |
|
private |
The documentation for this class was generated from the following file: