19 declare(strict_types=1);
33 protected function setUp(): void
47 $this->createMock(ilObjTest::class),
48 $this->createMock(ilTestQuestionSetConfig::class),
58 $this->createMock(\
ILIAS\
Test\InternalRequestService::class)
70 $this->assertInstanceOf(ilTestParticipantsGUI::class, $this->testObj);
75 $mock = $this->createMock(ilObjTest::class);
76 $this->testObj->setTestObj($mock);
77 $this->assertEquals($mock, $this->testObj->getTestObj());
82 $mock = $this->createMock(ilTestQuestionSetConfig::class);
83 $this->testObj->setQuestionSetConfig($mock);
84 $this->assertEquals($mock, $this->testObj->getQuestionSetConfig());
89 $mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
90 $this->testObj->setObjectiveParent($mock);
91 $this->assertEquals($mock, $this->testObj->getObjectiveParent());
96 $mock = $this->createMock(ilTestAccess::class);
97 $this->testObj->setTestAccess($mock);
98 $this->assertEquals($mock, $this->testObj->getTestAccess());
Class ChatMainBarProvider .
test_instantiateObject_shouldReturnInstance()
ilTestParticipantsGUI $testObj
Class ilTestParticipantsGUITest.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...