ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
NotificationServicesTest.php
Go to the documentation of this file.
1
<?
php
2
use
ILIAS\GlobalScreen\Scope\Notification\NotificationServices
;
3
use
ILIAS\GlobalScreen\Scope\Notification\Factory\NotificationFactory
;
4
use PHPUnit\Framework\TestCase;
5
6
require_once(
'./libs/composer/vendor/autoload.php'
);
7
11
class
NotificationServicesTest
extends
TestCase
12
{
13
public
function
testFactory
()
14
{
15
$factory
=
new
NotificationServices
();
16
$this->assertInstanceOf(NotificationFactory::class,
$factory
->factory());
17
}
18
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\GlobalScreen\Scope\Notification\Factory\NotificationFactory
Class NotificationFactory.
Definition:
NotificationFactory.php:10
ILIAS\GlobalScreen\Scope\Notification\NotificationServices
Class NotificationServices.
Definition:
NotificationServices.php:12
NotificationServicesTest
Class NotificationFactoryTest.
Definition:
NotificationServicesTest.php:12
NotificationServicesTest\testFactory
testFactory()
Definition:
NotificationServicesTest.php:13
$factory
$factory
Definition:
metadata.php:58
tests
GlobalScreen
Notification
NotificationServicesTest.php
Generated on Fri Oct 3 2025 20:01:16 for ILIAS by
1.9.4 (using
Doxyfile
)