ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ToastServicesTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
23use PHPUnit\Framework\TestCase;
25
26require_once('./vendor/composer/vendor/autoload.php');
27
28class 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}
Provides fluid interface to RBAC services.
Definition: UIServices.php:25