34 require_once(
'./vendor/composer/vendor/autoload.php');
35 require_once(__DIR__ .
"/../../../UI/tests/Base.php");
66 protected function setUp(): void
71 $this->provider = \Mockery::mock(NotificationProvider::class);
72 $this->provider->shouldReceive(
'getProviderNameForPresentation')->andReturn(
'Provider');
74 $this->
id = $this->identification->core($this->provider)->identifier(
'dummy');
82 public function item(): I\Item\Factory
84 return new I\Item\Factory();
87 public function symbol(): I\Symbol\Factory
89 return new I\Symbol\Factory(
96 public function mainControls(): I\MainControls\Factory
98 return new I\MainControls\Factory(
113 $factory->sig_gen = Mockery::mock(
I\SignalGeneratorInterface::class);
114 $factory->sig_gen->shouldReceive(
"create")->andReturn(
new I\
Signal(
"id"));
121 'ui' => $this->createMock(UIServices::class),
122 'ui.factory' => $this->createMock(\
ILIAS\
UI\Factory::class),
123 'provider_factory' => $this->createMock(ProviderFactory::class),
125 return new class ($mocks) extends
Container {
128 return new Services($this[
'provider_factory'], $this[
'ui']);
137 public array $notifications = [];
139 public function getNotifications(): array
141 return $this->notifications;
144 $provider->notifications = $notifications;
Interface AbstractNotificationProvider.
Class BaseNotificationSetUp.
Interface Observer Contains several chained tasks and infos about them.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class NotificationFactory.
Customizing of pimple-DIC for ILIAS.
getDummyNotificationsProviderWithNotifications($notifications)
Class NullProviderFactory.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class IdentificationFactory All elements in the GlobalScreen service must be identifiable for the sup...