ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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(
'./vendor/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
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
ToastServices
ILIAS\GlobalScreen\Scope\Toast\ToastServices
Definition:
ToastServices.php:26
ToastServicesTest\testFactory
testFactory()
Definition:
ToastServicesTest.php:28
DI
Class HTTPServicesTest.
ToastFactory
TestCase
components
ILIAS
GlobalScreen
tests
Toast
ToastServicesTest.php
Generated on Wed Sep 10 2025 15:15:42 for ILIAS by
1.8.13 (using
Doxyfile
)