ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssSingleOptionQuestionFeedbackTest.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 ilAssSingleOptionQuestionFeedback {};
44 }
45
46 public function testConstruct(): void
47 {
48 $this->assertInstanceOf(ilAssSingleOptionQuestionFeedback::class, $this->object);
49 }
50}
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