ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ToastServicesTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
25 
26 require_once('./vendor/composer/vendor/autoload.php');
27 
29 {
30  public function testFactory(): void
31  {
32  $ui_mock = $this->createMock(UIServices::class);
33 
34  $services = new ToastServices($ui_mock);
35  $this->assertInstanceOf(ToastFactory::class, $services->factory());
36  }
37 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...