ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilMyTestSolutionsGUITest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
31
32 protected function setUp(): void
33 {
34 parent::setUp();
35
36 $this->test = $this->getTestObjMock();
37 $this->access = $this->createMock(ilTestAccess::class);
38 $this->objective_parent = $this->createMock(ilTestObjectiveOrientedContainer::class);
39 $this->testObj = new ilMyTestSolutionsGUI(
40 $this->test,
41 $this->access,
42 $this->objective_parent,
43 $this->createMock(ilLanguage::class),
44 $this->createMock(ilCtrlInterface::class),
45 $this->createMock(ilGlobalTemplateInterface::class),
46 $this->createMock(ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class),
47 $this->createMock(\ILIAS\Test\RequestDataCollector::class)
48 );
49 }
50
52 {
53 $this->assertInstanceOf(ilMyTestSolutionsGUI::class, $this->testObj);
54 }
55}
Class ilMyTestSolutionsGUITest.
ilTestObjectiveOrientedContainer $objective_parent
Class ilTestBaseClass.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.