ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\Test\Tests\ExportFixedQuestionSetTest Class Reference
+ Inheritance diagram for ILIAS\Test\Tests\ExportFixedQuestionSetTest:
+ Collaboration diagram for ILIAS\Test\Tests\ExportFixedQuestionSetTest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
- Public Member Functions inherited from ilTestBaseTestCase
 createInstanceOf (string $class_name, array $explicit_parameters=[])
 
 createTraitInstanceOf (string $class_name, array $explicit_parameters=[])
 

Protected Member Functions

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

Private Attributes

ExportFixedQuestionSet $testObj
 

Additional Inherited Members

- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 
static getNonPublicPropertyValue (object $obj, string $name)
 
- Data Fields inherited from ilTestBaseTestCase
const string MOCKED_METHOD_WITHOUT_OUTPUT = 'MOCKED_METHOD_WITHOUT_OUTPUT'
 
const string DYNAMIC_CLASS = 'DynamicClass'
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 
Container $backup_dic = null
 
- Static Protected Attributes inherited from ilTestBaseTestCase
static int $DYNAMIC_CLASS_COUNT = 0
 

Detailed Description

Author
Marvin Beym mbeym.nosp@m.@dat.nosp@m.abay..nosp@m.de

Definition at line 28 of file ExportFixedQuestionSetTest.php.

Member Function Documentation

◆ setUp()

ILIAS\Test\Tests\ExportFixedQuestionSetTest::setUp ( )
protected

Definition at line 32 of file ExportFixedQuestionSetTest.php.

References $DIC, addGlobal_ilErr(), addGlobal_ilias(), and addGlobal_resourceStorage().

32  : void
33  {
34  global $DIC;
35  parent::setUp();
36 
37  $this->addGlobal_ilErr();
38  $this->addGlobal_ilias();
40 
41  $this->testObj = new ExportFixedQuestionSet(
42  $this->createMock(\ILIAS\Language\Language::class),
43  $this->createMock(\ilDBInterface::class),
44  $this->createMock(\ilBenchmark::class),
45  $this->createMock(\ILIAS\Test\Logging\TestLogger::class),
46  $this->createMock(\ilTree::class),
47  $this->createMock(\ilComponentRepository::class),
48  $this->createMock(\ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class),
49  $this->createMock(\ILIAS\FileDelivery\Services::class),
50  $this->createMock(\ilObjTest::class),
51  $DIC['resource_storage']
52  );
53  }
Interface Observer Contains several chained tasks and infos about them.
global $DIC
Definition: shib_login.php:26
addGlobal_resourceStorage()
+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ILIAS\Test\Tests\ExportFixedQuestionSetTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 55 of file ExportFixedQuestionSetTest.php.

55  : void
56  {
57  $this->assertInstanceOf(ExportFixedQuestionSet::class, $this->testObj);
58  }

Field Documentation

◆ $testObj

ExportFixedQuestionSet ILIAS\Test\Tests\ExportFixedQuestionSetTest::$testObj
private

Definition at line 30 of file ExportFixedQuestionSetTest.php.


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