34 protected function setUp(): void
38 $db = $this->createMock(ilDBInterface::class);
39 $component_repository = $this->createConfiguredMock(ilComponentRepositoryWrite::class, [
40 'hasPluginId' =>
true,
43 $this->
object =
new class ($db, $component_repository, 0) extends
ilQuestionsPlugin {
44 public function getQuestionType():
void 48 public function getQuestionTypeTranslation():
string 57 $this->assertInstanceOf(ilQuestionsPlugin::class, $this->
object);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilQuestionsPlugin $object
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...