3 declare(strict_types=1);
29 protected function setUp(): void
32 $this->lng_mock = $this->createMock(ilLanguage::class);
39 $this->assertInstanceOf(ilTestAnswerOptionalQuestionsConfirmationGUI::class, $instance);
44 $expect =
"testCancelCmd";
48 $gui->setCancelCmd($expect);
50 $this->assertEquals($expect, $gui->getCancelCmd());
55 $expect =
"testConfirmCmd";
59 $gui->setConfirmCmd($expect);
61 $this->assertEquals($expect, $gui->getConfirmCmd());
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
testGetAndSetConfirmCmd()
test_instantiateObject_shouldReturnInstance()