ILIAS  release_8 Revision v8.24
ToastServicesTest.php
Go to the documentation of this file.
1<?php
18declare(strict_types=1);
19
21use PHPUnit\Framework\TestCase;
23
24require_once('./libs/composer/vendor/autoload.php');
25
26class 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 HTTPServicesTest.
Class ChatMainBarProvider \MainMenu\Provider.