3declare(strict_types=1);
 
   29    protected function setUp(): void
 
   35                ilTestRandomSourcePoolDefinitionQuestionCollectionProvider::class
 
   42        $this->assertInstanceOf(ilTestRandomQuestionsQuantitiesDistribution::class, $this->testObj);
 
   47        $mock = $this->createMock(ilTestRandomSourcePoolDefinitionQuestionCollectionProvider::class);
 
   49        $this->testObj->setQuestionCollectionProvider($mock);
 
   50        $this->assertEquals($mock, $this->testObj->getQuestionCollectionProvider());
 
   55        $mock = $this->createMock(ilTestRandomQuestionSetSourcePoolDefinitionList::class);
 
   57        $this->testObj->setSourcePoolDefinitionList($mock);
 
   58        $this->assertEquals($mock, $this->testObj->getSourcePoolDefinitionList());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
testQuestionCollectionProvider()
 
testSourcePoolDefinitionList()
 
ilTestRandomQuestionsQuantitiesDistribution $testObj
 
test_instantiateObject_shouldReturnInstance()