Class ilTestRandomQuestionSetConfigStateMessageHandlerTest.
More...
◆ setUp()
| ilTestRandomQuestionSetConfigStateMessageHandlerTest::setUp |
( |
| ) |
|
|
protected |
◆ test_instantiateObject_shouldReturnInstance()
| ilTestRandomQuestionSetConfigStateMessageHandlerTest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ testContext()
| ilTestRandomQuestionSetConfigStateMessageHandlerTest::testContext |
( |
| ) |
|
◆ testLostPools()
| ilTestRandomQuestionSetConfigStateMessageHandlerTest::testLostPools |
( |
| ) |
|
◆ testParticipantDataExists()
| ilTestRandomQuestionSetConfigStateMessageHandlerTest::testParticipantDataExists |
( |
| ) |
|
Definition at line 59 of file ilTestRandomQuestionSetConfigStateMessageHandlerTest.php.
59 : void
60 {
61 $this->testObj->setParticipantDataExists(false);
62 $this->assertFalse($this->testObj->doesParticipantDataExists());
63
64 $this->testObj->setParticipantDataExists(true);
65 $this->assertTrue($this->testObj->doesParticipantDataExists());
66 }
◆ testQuestionSetConfig()
| ilTestRandomQuestionSetConfigStateMessageHandlerTest::testQuestionSetConfig |
( |
| ) |
|
Definition at line 82 of file ilTestRandomQuestionSetConfigStateMessageHandlerTest.php.
82 : void
83 {
84 $mock = $this->createMock(ilTestRandomQuestionSetConfig::class);
85 $this->testObj->setQuestionSetConfig($mock);
86 $this->assertEquals($mock, $this->testObj->getQuestionSetConfig());
87 }
◆ testTargetGUI()
| ilTestRandomQuestionSetConfigStateMessageHandlerTest::testTargetGUI |
( |
| ) |
|
Definition at line 68 of file ilTestRandomQuestionSetConfigStateMessageHandlerTest.php.
68 : void
69 {
70 $targetGui_mock = $this->createMock(ilTestRandomQuestionSetConfigGUI::class);
71 $this->testObj->setTargetGUI($targetGui_mock);
72 $this->assertEquals($targetGui_mock, $this->testObj->getTargetGUI());
73 }
◆ $testObj
The documentation for this class was generated from the following file: