ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ilTestQuestionSetConfigFactoryTest Class Reference

Class ilTestQuestionSetConfigFactoryTest. More...

+ Inheritance diagram for ilTestQuestionSetConfigFactoryTest:
+ Collaboration diagram for ilTestQuestionSetConfigFactoryTest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 

Private Attributes

ilTestQuestionSetConfigFactory $testObj
 

Additional Inherited Members

- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

Member Function Documentation

◆ setUp()

ilTestQuestionSetConfigFactoryTest::setUp ( )
protected

Definition at line 29 of file ilTestQuestionSetConfigFactoryTest.php.

29  : void
30  {
31  parent::setUp();
32  $this->testObj = new ilTestQuestionSetConfigFactory(
33  $this->createMock(ilTree::class),
34  $this->createMock(ilDBInterface::class),
35  $this->createMock(ilLanguage::class),
36  $this->createMock(ILIAS\Test\Logging\TestLogger::class),
37  $this->createMock(ilComponentRepository::class),
38  $this->getTestObjMock(),
39  $this->createMock(\ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class)
40  );
41  }
Interface Observer Contains several chained tasks and infos about them.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ test_instantiateObject_shouldReturnInstance()

ilTestQuestionSetConfigFactoryTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 43 of file ilTestQuestionSetConfigFactoryTest.php.

43  : void
44  {
45  $this->assertInstanceOf(ilTestQuestionSetConfigFactory::class, $this->testObj);
46  }

Field Documentation

◆ $testObj

ilTestQuestionSetConfigFactory ilTestQuestionSetConfigFactoryTest::$testObj
private

Definition at line 27 of file ilTestQuestionSetConfigFactoryTest.php.


The documentation for this class was generated from the following file: