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