ILIAS  release_8 Revision v8.24
ilTestSessionDynamicQuestionSetTest.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 ilTestSessionDynamicQuestionSet();
34 }
35
37 {
38 $this->assertInstanceOf(ilTestSessionDynamicQuestionSet::class, $this->testObj);
39 }
40
41 public function testGetQuestionSetFilterSelection(): void
42 {
43 $this->assertInstanceOf(
44 ilTestDynamicQuestionSetFilterSelection::class,
45 $this->testObj->getQuestionSetFilterSelection()
46 );
47 }
48
49 public function testCurrentQuestionId(): void
50 {
51 $this->testObj->setCurrentQuestionId(20);
52 $this->assertEquals(20, $this->testObj->getCurrentQuestionId());
53 }
54}
Class ilTestBaseClass.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...