ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
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(ilLanguage::class),
46 $this->createMock(ilCtrlInterface::class),
47 $this->createMock(ilGlobalTemplateInterface::class),
48 $this->createMock(ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class),
49 $this->createMock(\ILIAS\Test\RequestDataCollector::class)
50 );
51 }
52
54 {
55 $this->assertInstanceOf(ilMyTestResultsGUI::class, $this->testObj);
56 }
57}
Class ilMyTestResultsGUITest.
ilTestObjectiveOrientedContainer $objective_parent
Class ilTestBaseClass.
Test session handler.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.