ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Results\Toplist\TestTopListRepositoryTest Class Reference

Class TestTopListRepositoryTest. More...

+ Inheritance diagram for Results\Toplist\TestTopListRepositoryTest:
+ Collaboration diagram for Results\Toplist\TestTopListRepositoryTest:

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

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

Results\Toplist\TestTopListRepositoryTest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 33 of file TestTopListRepositoryTest.php.

33 : void
34 {
35 parent::setUp();
36
37 $this->testObj = new TestTopListRepository(
38 $this->createMock(\ilDBInterface::class)
39 );
40 }

◆ test_instantiateObject_shouldReturnInstance()

Results\Toplist\TestTopListRepositoryTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 42 of file TestTopListRepositoryTest.php.

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

Field Documentation

◆ $testObj

TestTopListRepository Results\Toplist\TestTopListRepositoryTest::$testObj
private

Definition at line 31 of file TestTopListRepositoryTest.php.


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