ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilTestLearningObjectivesStatusGUITest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
28 
29  protected function setUp(): void
30  {
31  parent::setUp();
32 
33  $this->testObj = new ilTestLearningObjectivesStatusGUI(
34  $this->createMock(ilLanguage::class),
35  $this->createMock(ilCtrl::class),
36  $this->createMock(ILIAS\UI\Factory::class),
37  $this->createMock(ILIAS\UI\Renderer::class),
38  $this->createMock(ILIAS\Test\InternalRequestService::class)
39  );
40  }
41 
43  {
44  $this->assertInstanceOf(ilTestLearningObjectivesStatusGUI::class, $this->testObj);
45  }
46 
47  public function testCrsObjId(): void
48  {
49  $this->testObj->setCrsObjId(1240);
50  $this->assertEquals(1240, $this->testObj->getCrsObjId());
51  }
52 
53  public function testUsrId(): void
54  {
55  $this->testObj->setUsrId(1240);
56  $this->assertEquals(1240, $this->testObj->getUsrId());
57  }
58 }
Class ChatMainBarProvider .
Class ilTestLearningObjectivesStatusGUITest.
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...