ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FactoryTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ILIAS\UI\Factory as UIFactory;
25use ILIAS\UI\Renderer as UIRenderer;
26use ILIAS\Refinery\Factory as Refinery;
27use ILIAS\HTTP\Services as HTTPService;
28use ILIAS\Data\Factory as DataFactory;
29
31{
32 public function testConstruct(): void
33 {
34 $ilTestResultsPresentationFactory = new Factory(
35 $this->createMock(UIFactory::class),
36 $this->createMock(UIRenderer::class),
37 $this->createMock(Refinery::class),
38 $this->createMock(DataFactory::class),
39 $this->createMock(HTTPService::class),
40 $this->createMock(\ilLanguage::class)
41 );
42 $this->assertInstanceOf(Factory::class, $ilTestResultsPresentationFactory);
43 }
44}
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
Builds data types.
Definition: Factory.php:36
Class Services.
Definition: Services.php:38
Class ilTestBaseClass.
An entity that renders components to a string output.
Definition: Renderer.php:31