3 declare(strict_types=1);
33 protected function setUp(): void
36 $this->testEvaluationGUI_mock = $this->createMock(ilTestEvaluationGUI::class);
37 $this->lng_mock = $this->createMock(ilLanguage::class);
38 $this->ctrl_mock = $this->createMock(ilCtrl::class);
46 $this->testEvaluationGUI_mock
49 $this->assertInstanceOf(ilTestPassDeletionConfirmationGUI::class, $instance);
54 $this->ctrl_mock->expects($this->once())
55 ->method(
"getFormAction")
56 ->with($this->testEvaluationGUI_mock);
64 $this->expectException(ilTestException::class);
65 $gui->build(20, 5,
"invalidContext");
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
testBuildFailsWithWrongContext()
test_instantiateObject_shouldReturnInstance()