ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilMyTestSolutionsGUITest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
28  private ilObjTest $test;
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 }
Interface Observer Contains several chained tasks and infos about them.
Class ilMyTestSolutionsGUITest.
ilTestObjectiveOrientedContainer $objective_parent