ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssConfigurableMultiOptionQuestionFeedbackTest.php
Go to the documentation of this file.
1<?php
2
29{
30 protected $backupGlobals = false;
31
33
34 protected function setUp(): void
35 {
36 parent::setUp();
37
38 $questionOBJ = $this->createMock(assQuestion::class);
39 $ctrl = $this->createMock(ilCtrl::class);
40 $db = $this->createMock(ilDBInterface::class);
41 $lng = $this->createMock(ilLanguage::class);
42
43 $this->object = new class ($questionOBJ, $ctrl, $db, $lng) extends ilAssConfigurableMultiOptionQuestionFeedback {
44 protected function getSpecificQuestionTableName(): string
45 {
46 return '';
47 }
48 };
49 }
50
51 public function testConstruct(): void
52 {
53 $this->assertInstanceOf(ilAssConfigurableMultiOptionQuestionFeedback::class, $this->object);
54 }
55}
Class assBaseTestCase.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $lng
Definition: privfeed.php:31