ILIAS  release_8 Revision v8.24
ilTestLearningObjectivesStatusGUITest.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
26{
28
29 protected function setUp(): void
30 {
31 parent::setUp();
32
33 $this->testObj = new ilTestLearningObjectivesStatusGUI(
34 $this->createMock(ilLanguage::class)
35 );
36 }
37
39 {
40 $this->assertInstanceOf(ilTestLearningObjectivesStatusGUI::class, $this->testObj);
41 }
42
43 public function testCrsObjId(): void
44 {
45 $this->testObj->setCrsObjId(1240);
46 $this->assertEquals(1240, $this->testObj->getCrsObjId());
47 }
48
49 public function testUsrId(): void
50 {
51 $this->testObj->setUsrId(1240);
52 $this->assertEquals(1240, $this->testObj->getUsrId());
53 }
54}
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...