ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
ToastServicesTest.php
Go to the documentation of this file.
1
<?php
18
declare(strict_types=1);
19
20
use
ILIAS\GlobalScreen\Scope\Toast\ToastServices
;
21
use PHPUnit\Framework\TestCase;
22
use
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastFactory
;
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
}
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastFactory
Definition:
ToastFactory.php:31
ILIAS\GlobalScreen\Scope\Toast\ToastServices
Definition:
ToastServices.php:27
ToastServicesTest
Definition:
ToastServicesTest.php:27
ToastServicesTest\testFactory
testFactory()
Definition:
ToastServicesTest.php:28
DI
Class HTTPServicesTest.
ILIAS
Class ChatMainBarProvider \MainMenu\Provider.
tests
GlobalScreen
Toast
ToastServicesTest.php
Generated on Sun Nov 2 2025 22:02:04 for ILIAS by
1.9.4 (using
Doxyfile
)