Definition at line 32 of file BaseToastSetUp.php.
◆ getDIC()
BaseToastSetUp::getDIC |
( |
| ) |
|
Definition at line 53 of file BaseToastSetUp.php.
References ILIAS\Repository\globalScreen().
Referenced by getDummyToastProviderWithToasts().
56 'ui' => $this->createMock(\
ILIAS\
DI\UIServices::class),
57 'ui.factory' => $this->createMock(\
ILIAS\
UI\Factory::class),
58 'provider_factory'=> $this->createMock(ProviderFactory::class),
63 return new Services($this[
'provider_factory'], $this[
'ui']);
Class ChatMainBarProvider .
Customizing of pimple-DIC for ILIAS.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ getDummyToastProviderWithToasts()
BaseToastSetUp::getDummyToastProviderWithToasts |
( |
array |
$toasts | ) |
|
◆ setUp()
BaseToastSetUp::setUp |
( |
| ) |
|
|
protected |
Definition at line 43 of file BaseToastSetUp.php.
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();
Class ChatMainBarProvider .
◆ $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: