ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssQuestionPageCommandForwarderTest Class Reference

Class ilAssQuestionPageCommandForwarderTest. More...

+ Inheritance diagram for ilAssQuestionPageCommandForwarderTest:
+ Collaboration diagram for ilAssQuestionPageCommandForwarderTest:

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

ilAssQuestionPageCommandForwarder $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

Member Function Documentation

◆ setUp()

ilAssQuestionPageCommandForwarderTest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 29 of file ilAssQuestionPageCommandForwarderTest.php.

29 : void
30 {
31 parent::setUp();
32
33 $this->testObj = new ilAssQuestionPageCommandForwarder(
34 $this->getTestObjMock(),
35 $this->createMock(ilLanguage::class),
36 $this->createMock(ilCtrlInterface::class),
37 $this->createMock(ilGlobalTemplateInterface::class),
38 $this->createMock(ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class),
39 $this->createMock(\ILIAS\Test\RequestDataCollector::class)
40 );
41 }
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.

References getTestObjMock().

+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ilAssQuestionPageCommandForwarderTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 43 of file ilAssQuestionPageCommandForwarderTest.php.

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

Field Documentation

◆ $testObj

ilAssQuestionPageCommandForwarder ilAssQuestionPageCommandForwarderTest::$testObj
private

Definition at line 27 of file ilAssQuestionPageCommandForwarderTest.php.


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