ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilTestRandomQuestionSetNonAvailablePoolTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
26 {
28 
29  protected function setUp(): void
30  {
31  parent::setUp();
32 
33  $this->testObj = new ilTestRandomQuestionSetNonAvailablePool();
34  }
35 
37  {
38  $this->assertInstanceOf(ilTestRandomQuestionSetNonAvailablePool::class, $this->testObj);
39  }
40 
41  public function testId(): void
42  {
43  $this->testObj->setId(222);
44  $this->assertEquals(222, $this->testObj->getId());
45  }
46 
47  public function testTitle(): void
48  {
49  $this->testObj->setTitle("Test");
50  $this->assertEquals("Test", $this->testObj->getTitle());
51  }
52 
53  public function testPath(): void
54  {
55  $this->testObj->setPath("Test");
56  $this->assertEquals("Test", $this->testObj->getPath());
57  }
58 
59  public function testUnavailabilityStatus(): void
60  {
61  $this->testObj->setUnavailabilityStatus("Test");
62  $this->assertEquals("Test", $this->testObj->getUnavailabilityStatus());
63  }
64 }
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...