ILIAS
release_8 Revision v8.23
◀ 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
}
ToastServicesTest
Definition:
ToastServicesTest.php:26
ILIAS
Class ChatMainBarProvider .
ToastServices
ILIAS\GlobalScreen\Scope\Toast\ToastServices
Definition:
ToastServices.php:26
ToastServicesTest\testFactory
testFactory()
Definition:
ToastServicesTest.php:28
DI
Class HTTPServicesTest.
ToastFactory
TestCase
tests
GlobalScreen
Toast
ToastServicesTest.php
Generated on Wed Sep 3 2025 22:03:00 for ILIAS by
1.8.13 (using
Doxyfile
)