ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ToastServicesTest.php
Go to the documentation of this file.
1 <?php
18 declare(strict_types=1);
19 
24 
25 require_once('./vendor/composer/vendor/autoload.php');
26 
28 {
29  public function testFactory(): void
30  {
31  $ui_mock = $this->createMock(UIServices::class);
32 
33  $services = new ToastServices($ui_mock);
34  $this->assertInstanceOf(ToastFactory::class, $services->factory());
35  }
36 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...