ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ilTestSessionFactoryTest Class Reference

Class ilTestSessionFactoryTest. More...

+ Inheritance diagram for ilTestSessionFactoryTest:
+ Collaboration diagram for ilTestSessionFactoryTest:

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

ilTestSessionFactory $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()

ilTestSessionFactoryTest::setUp ( )
protected

Definition at line 29 of file ilTestSessionFactoryTest.php.

References getTestObjMock().

29  : void
30  {
31  parent::setUp();
32 
33  $this->testObj = new ilTestSessionFactory(
34  $this->getTestObjMock(),
35  $this->createMock(ilDBInterface::class),
36  $this->createMock(ilObjUser::class)
37  );
38  }
+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ilTestSessionFactoryTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 40 of file ilTestSessionFactoryTest.php.

40  : void
41  {
42  $this->assertInstanceOf(ilTestSessionFactory::class, $this->testObj);
43  }

Field Documentation

◆ $testObj

ilTestSessionFactory ilTestSessionFactoryTest::$testObj
private

Definition at line 27 of file ilTestSessionFactoryTest.php.


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