ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
NotificationServicesTest.php
Go to the documentation of this file.
1
<?
php
2
19
use
ILIAS\GlobalScreen\Scope\Notification\NotificationServices
;
20
use
ILIAS\GlobalScreen\Scope\Notification\Factory\NotificationFactory
;
21
use PHPUnit\Framework\TestCase;
22
23
require_once(
'./libs/composer/vendor/autoload.php'
);
24
28
class
NotificationServicesTest
extends
TestCase
29
{
30
public
function
testFactory
() : void
31
{
32
$factory
=
new
NotificationServices
();
33
$this->assertInstanceOf(NotificationFactory::class,
$factory
->factory());
34
}
35
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\GlobalScreen\Scope\Notification\Factory\NotificationFactory
Class NotificationFactory.
Definition:
NotificationFactory.php:29
ILIAS\GlobalScreen\Scope\Notification\NotificationServices
Class NotificationServices.
Definition:
NotificationServices.php:32
NotificationServicesTest
Class NotificationFactoryTest.
Definition:
NotificationServicesTest.php:29
NotificationServicesTest\testFactory
testFactory()
Definition:
NotificationServicesTest.php:30
$factory
$factory
Definition:
metadata.php:58
tests
GlobalScreen
Notification
NotificationServicesTest.php
Generated on Fri Oct 3 2025 21:01:12 for ILIAS by
1.9.4 (using
Doxyfile
)