3 declare(strict_types=1);
29 protected function setUp(): void
33 $this->testObj =
new ilTestScoring($this->createMock(ilObjTest::class));
38 $this->assertInstanceOf(ilTestScoring::class, $this->testObj);
43 $this->testObj->setPreserveManualScores(
false);
44 $this->assertFalse($this->testObj->getPreserveManualScores());
46 $this->testObj->setPreserveManualScores(
true);
47 $this->assertTrue($this->testObj->getPreserveManualScores());
52 $this->testObj->setQuestionId(20);
53 $this->assertEquals(20, $this->testObj->getQuestionId());
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
testPreserveManualScores()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
test_instantiateObject_shouldReturnInstance()