3declare(strict_types=1);
 
   29    protected function setUp(): void
 
   34            $this->createMock(ilDBInterface::class),
 
   35            $this->createMock(ilObjTest::class)
 
   41        $this->assertInstanceOf(ilTestRandomQuestionSetSourcePoolDefinition::class, $this->testObj);
 
   46        $this->testObj->setId(125);
 
   47        $this->assertEquals(125, $this->testObj->getId());
 
   52        $this->testObj->setPoolId(125);
 
   53        $this->assertEquals(125, $this->testObj->getPoolId());
 
   58        $this->testObj->setPoolTitle(
"test");
 
   59        $this->assertEquals(
"test", $this->testObj->getPoolTitle());
 
   64        $this->testObj->setPoolPath(
"test");
 
   65        $this->assertEquals(
"test", $this->testObj->getPoolPath());
 
   70        $this->testObj->setPoolQuestionCount(5);
 
   71        $this->assertEquals(5, $this->testObj->getPoolQuestionCount());
 
   77            125 => [
"nodeId" => 20],
 
   78            17 => [
"nodeId" => 3],
 
   80        $this->testObj->setOriginalTaxonomyFilter($expected);
 
   81        $this->assertEquals($expected, $this->testObj->getOriginalTaxonomyFilter());
 
   87            125 => [
"nodeId" => 20],
 
   88            17 => [
"nodeId" => 3],
 
   90        $this->testObj->setMappedTaxonomyFilter($expected);
 
   91        $this->assertEquals($expected, $this->testObj->getMappedTaxonomyFilter());
 
  101        $this->testObj->setTypeFilter($expected);
 
  102        $this->assertEquals($expected, $this->testObj->getTypeFilter());
 
  112        $this->testObj->setLifecycleFilter($expected);
 
  113        $this->assertEquals($expected, $this->testObj->getLifecycleFilter());
 
  118        $this->testObj->setQuestionAmount(5);
 
  119        $this->assertEquals(5, $this->testObj->getQuestionAmount());
 
  124        $this->testObj->setSequencePosition(5);
 
  125        $this->assertEquals(5, $this->testObj->getSequencePosition());
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
testMappedTaxonomyFilter()
 
test_instantiateObject_shouldReturnInstance()
 
testOriginalTaxonomyFilter()
 
ilTestRandomQuestionSetSourcePoolDefinition $testObj