ILIAS  release_8 Revision v8.23
ToastServicesTest.php
Go to the documentation of this file.
1 <?php
18 declare(strict_types=1);
19 
23 
24 require_once('./libs/composer/vendor/autoload.php');
25 
26 class ToastServicesTest extends TestCase
27 {
28  public function testFactory(): void
29  {
30  $ui_mock = $this->createMock(\ILIAS\DI\UIServices::class);
31 
32  $services = new ToastServices($ui_mock);
33  $this->assertInstanceOf(ToastFactory::class, $services->factory());
34  }
35 }
Class ChatMainBarProvider .
Class HTTPServicesTest.