Class ilTestTopListTableGUITest.
More...
◆ setUp()
| ilTestTopListTableGUITest::setUp |
( |
| ) |
|
|
protected |
Definition at line 30 of file ilTestTopListTableGUITest.php.
References ilTestBaseTestCase\setGlobalVariable().
34 $lng_mock = $this->createMock(ilLanguage::class);
35 $ctrl_mock = $this->createMock(ilCtrl::class);
36 $ctrl_mock->expects($this->any())
37 ->method(
"getFormAction")
38 ->willReturnCallback(
function () {
39 return "testFormAction";
45 $this->
setGlobalVariable(
"component.repository", $this->createMock(ilComponentRepository::class));
46 $component_factory = $this->createMock(ilComponentFactory::class);
47 $component_factory->method(
"getActivePluginsInSlot")->willReturn(
new ArrayIterator());
51 $this->parentObj_mock = $this->createMock(ilTestToplistGUI::class);
53 $this->parentObj_mock,
54 $this->createMock(ilObjTest::class)
setGlobalVariable(string $name, $value)
Class ilTestTopListTableGUI.
◆ test_instantiateObject_shouldReturnInstance()
| ilTestTopListTableGUITest::test_instantiateObject_shouldReturnInstance |
( |
| ) |
|
◆ $parentObj_mock
◆ $tableGui
The documentation for this class was generated from the following file: