ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ilMyTestResultsGUITest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
28  private ilObjTest $test;
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 }
ilTestObjectiveOrientedContainer $objective_parent
Interface Observer Contains several chained tasks and infos about them.
Class ilMyTestResultsGUITest.