3declare(strict_types=1);
 
   29    protected function setUp(): void
 
   34            $this->createMock(ilDBInterface::class),
 
   35            $this->createMock(ilComponentRepository::class),
 
   36            $this->getMockBuilder(ilObjTest::class)->disableOriginalConstructor()->getMock()
 
   42        $this->assertInstanceOf(ilTestRandomQuestionSetPoolDeriver::class, $this->testObj);
 
   47        $this->testObj->setTargetContainerRef(125);
 
   48        $this->assertEquals(125, $this->testObj->getTargetContainerRef());
 
   53        $this->testObj->setOwnerId(125);
 
   54        $this->assertEquals(125, $this->testObj->getOwnerId());
 
   59        $mock = $this->createMock(ilTestRandomQuestionSetSourcePoolDefinitionList::class);
 
   60        $this->testObj->setSourcePoolDefinitionList($mock);
 
   61        $this->assertEquals($mock, $this->testObj->getSourcePoolDefinitionList());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
testSourcePoolDefinitionList()
 
ilTestRandomQuestionSetPoolDeriver $testObj
 
test_instantiateObject_shouldReturnInstance()