19 declare(strict_types=1);
31 protected function setUp(): void
35 $this->addGlobal_ilUser();
37 $ctrl_mock = $this->createMock(ilCtrl::class);
39 ->method(
"getFormAction")
40 ->willReturnCallback(
function () {
41 return "testFormAction";
43 $this->setGlobalVariable(
"ilCtrl", $ctrl_mock);
45 $test_gui = $this->getMockBuilder(ilObjTestVerificationGUI::class)->disableOriginalConstructor()->getMock();
49 $this->createMock(ilDBInterface::class),
50 $this->createMock(ilObjUser::class),
51 $this->createMock(\
ILIAS\
Test\Logging\TestLogger::class)
57 $this->assertInstanceOf(ilTestVerificationTableGUI::class, $this->tableGui);
test_instantiateObject_shouldReturnInstance()
Interface Observer Contains several chained tasks and infos about them.
Class ilTestVerificationTableGUITest.
ilTestVerificationTableGUI $tableGui
List all completed tests for current user.