ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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 ()
 
 setGlobalVariable (string $name, $value)
 
 getGlobalTemplateMock ()
 
 getDatabaseMock ()
 
 getIliasMock ()
 
 addGlobal_ilAccess ()
 
 addGlobal_ilUser ()
 
 addGlobal_objDefinition ()
 
 addGlobal_tree ()
 
 addGlobal_ilSetting ()
 
 addGlobal_rbacsystem ()
 
 addGlobal_ilRbacAdmin ()
 
 addGlobal_ilCtrl ()
 
 addGlobal_lng ()
 
 addGlobal_filesystem ()
 
 addGlobal_upload ()
 
 addGlobal_ilDB ()
 
 addGlobal_ilBench ()
 
 addGlobal_ilLog ()
 
 addGlobal_ilias ()
 
 addGlobal_ilErr ()
 
 addGlobal_GlobalScreenService ()
 
 addGlobal_ilNavigationHistory ()
 
 addGlobal_ilAppEventHandler ()
 
 addGlobal_tpl ()
 
 addGlobal_ilComponentRepository ()
 
 addGlobal_ilComponentFactory ()
 
 addGlobal_ilTabs ()
 
 addGlobal_ilObjDataCache ()
 
 addGlobal_ilLocator ()
 
 addGlobal_rbacreview ()
 
 addGlobal_ilToolbar ()
 
 addGlobal_http ()
 
 addGlobal_ilIliasIniFile ()
 
 addGlobal_ilLoggerFactory ()
 
 addGlobal_ilHelp ()
 
 addGlobal_ui ()
 
 addGlobal_uiFactory ()
 
 addGlobal_uiRenderer ()
 
 addGlobal_refinery ()
 
 addGlobal_skillService ()
 
 addGlobal_objectService ()
 
 addGlobal_resourceStorage ()
 
 getTestObjMock ()
 

Private Attributes

ilTestQuestionSetConfigFactory $testObj
 

Additional Inherited Members

- 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.

References $DIC, ilTestBaseTestCase\addGlobal_ilComponentRepository(), ilTestBaseTestCase\addGlobal_ilLog(), and ilTestBaseTestCase\addGlobal_lng().

29  : void
30  {
31  global $DIC;
32  parent::setUp();
33 
34  $this->addGlobal_lng();
35  $this->addGlobal_ilLog();
37 
38  $this->testObj = new ilTestQuestionSetConfigFactory(
39  $DIC['tree'],
40  $DIC['ilDB'],
41  $DIC['lng'],
42  $DIC['ilLog'],
43  $DIC['component.repository'],
44  $this->createMock(ilObjTest::class),
45  $this->createMock(\ILIAS\TestQuestionPool\QuestionInfoService::class)
46  );
47  }
Class ChatMainBarProvider .
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ilTestQuestionSetConfigFactoryTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 49 of file ilTestQuestionSetConfigFactoryTest.php.

49  : void
50  {
51  $this->assertInstanceOf(ilTestQuestionSetConfigFactory::class, $this->testObj);
52  }

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: