19 declare(strict_types=1);
29 protected function setUp(): void
34 $this->getTestObjMock(),
35 $this->createMock(ilCtrl::class),
36 $this->createMock(ilGlobalPageTemplate::class),
37 $this->createMock(ilLanguage::class),
38 $this->createMock(ilDBInterface::class),
39 $this->createMock(\
ILIAS\
Test\Logging\TestLogger::class),
40 $this->createMock(
ILIAS\Skill\Service\SkillService::class),
41 $this->createMock(
ILIAS\
Test\RequestDataCollector::class)
47 $this->assertInstanceOf(ilTestSkillEvaluationGUI::class, $this->testObj);
52 $mock = $this->createMock(ilAssQuestionList::class);
53 $this->testObj->setQuestionList($mock);
54 $this->assertEquals($mock, $this->testObj->getQuestionList());
59 $mock = $this->createMock(ilTestObjectiveOrientedContainer::class);
60 $this->testObj->setObjectiveOrientedContainer($mock);
61 $this->assertEquals($mock, $this->testObj->getObjectiveOrientedContainer());
66 $mock = $this->createMock(ilTestSession::class);
67 $this->testObj->setTestSession($mock);
68 $this->assertEquals($mock, $this->testObj->getTestSession());
test_instantiateObject_shouldReturnInstance()
Interface Observer Contains several chained tasks and infos about them.
ilTestSkillEvaluationGUI $testObj
testObjectiveOrientedContainer()
Class ilTestSkillEvaluationGUITest.