ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 

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=[])
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

Member Function Documentation

◆ setUp()

Results\Toplist\TestTopListRepositoryTest::setUp ( )
protected

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: