3 declare(strict_types=1);
29 protected function setUp(): void
47 $this->assertInstanceOf(ilParticipantsTestResultsGUI::class, $this->testObj);
52 $objTest_mock = $this->createMock(ilObjTest::class);
54 $this->assertNull($this->testObj->getTestObj());
56 $this->testObj->setTestObj($objTest_mock);
57 $this->assertEquals($objTest_mock, $this->testObj->getTestObj());
62 $testQuestionSetConfig_mock = $this->createMock(ilTestQuestionSetConfig::class);
64 $this->assertNull($this->testObj->getQuestionSetConfig());
66 $this->testObj->setQuestionSetConfig($testQuestionSetConfig_mock);
67 $this->assertEquals($testQuestionSetConfig_mock, $this->testObj->getQuestionSetConfig());
72 $testAccess_mock = $this->createMock(ilTestAccess::class);
74 $this->assertNull($this->testObj->getTestAccess());
76 $this->testObj->setTestAccess($testAccess_mock);
77 $this->assertEquals($testAccess_mock, $this->testObj->getTestAccess());
82 $objectiveParent_mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
84 $this->assertNull($this->testObj->getObjectiveParent());
86 $this->testObj->setObjectiveParent($objectiveParent_mock);
87 $this->assertEquals($objectiveParent_mock, $this->testObj->getObjectiveParent());
addGlobal_ilLoggerFactory()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
test_instantiateObject_shouldReturnInstance()
ilParticipantsTestResultsGUI $testObj