ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilQuestionInternalLinkSelectionTableGUITest.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 $object = new class () {
39 protected object $object;
40
41 public function __construct()
42 {
43 $this->object = new class () {
44 public function getId(): int
45 {
46 return 0;
47 }
48 };
49 }
50
51 public function getObject()
52 {
53 return $this->object;
54 }
55 };
56
57 $this->object = new ilQuestionInternalLinkSelectionTableGUI($object, '', '');
58 }
59
60 public function testConstruct(): void
61 {
62 $this->assertInstanceOf(ilQuestionInternalLinkSelectionTableGUI::class, $this->object);
63 }
64}
Class assBaseTestCase.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc