ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
ToastServicesTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\DI\UIServices
;
22
use
ILIAS\GlobalScreen\Scope\Toast\ToastServices
;
23
use
PHPUnit\Framework\TestCase
;
24
use
ILIAS\GlobalScreen\Scope\Toast\Factory\ToastFactory
;
25
26
require_once(
'./vendor/composer/vendor/autoload.php'
);
27
28
class
ToastServicesTest
extends
TestCase
29
{
30
public
function
testFactory
(): void
31
{
32
$ui_mock = $this->createMock(UIServices::class);
33
34
$services =
new
ToastServices
($ui_mock);
35
$this->assertInstanceOf(ToastFactory::class, $services->factory());
36
}
37
}
ToastServicesTest
Definition:
ToastServicesTest.php:28
UIServices
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ToastServices
ILIAS\GlobalScreen\Scope\Toast\ToastServices
Definition:
ToastServices.php:27
ToastServicesTest\testFactory
testFactory()
Definition:
ToastServicesTest.php:30
ToastFactory
TestCase
TestCase
components
ILIAS
GlobalScreen
tests
Toast
ToastServicesTest.php
Generated on Wed Sep 3 2025 23:03:08 for ILIAS by
1.8.13 (using
Doxyfile
)