3 declare(strict_types=1);
29 protected function setUp(): void
34 $this->createMock(ilTestRandomQuestionSetSourcePoolDefinition::class)
40 $this->assertInstanceOf(ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation::class, $this->testObj);
45 $mock = $this->createMock(ilTestRandomQuestionSetSourcePoolDefinitionList::class);
47 $this->testObj->setIntersectionQuantitySharingDefinitionList($mock);
48 $this->assertEquals($mock, $this->testObj->getIntersectionQuantitySharingDefinitionList());
53 $this->testObj->setOverallQuestionAmount(5);
54 $this->assertEquals(5, $this->testObj->getOverallQuestionAmount());
59 $this->testObj->setExclusiveQuestionAmount(5);
60 $this->assertEquals(5, $this->testObj->getExclusiveQuestionAmount());
65 $this->testObj->setAvailableSharedQuestionAmount(5);
66 $this->assertEquals(5, $this->testObj->getAvailableSharedQuestionAmount());
test_instantiateObject_shouldReturnInstance()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
testIntersectionQuantitySharingDefinitionList()
ilTestRandomQuestionsSrcPoolDefinitionQuantitiesCalculation $testObj
testOverallQuestionAmount()
testAvailableSharedQuestionAmount()
testExclusiveQuestionAmount()