ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ilTestPlayerFactoryTest Class Reference

Class ilTestPlayerFactoryTest. More...

+ Inheritance diagram for ilTestPlayerFactoryTest:
+ Collaboration diagram for ilTestPlayerFactoryTest:

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

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

ilTestPlayerFactoryTest::setUp ( )
protected

Definition at line 29 of file ilTestPlayerFactoryTest.php.

References getTestObjMock().

29  : void
30  {
31  parent::setUp();
32 
33  $this->testObj = new ilTestPlayerFactory($this->getTestObjMock());
34  }
+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ilTestPlayerFactoryTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 36 of file ilTestPlayerFactoryTest.php.

36  : void
37  {
38  $this->assertInstanceOf(ilTestPlayerFactory::class, $this->testObj);
39  }

Field Documentation

◆ $testObj

ilTestPlayerFactory ilTestPlayerFactoryTest::$testObj
private

Definition at line 27 of file ilTestPlayerFactoryTest.php.


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