ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
InterruptiveItemTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 require_once("vendor/composer/vendor/autoload.php");
22 require_once(__DIR__ . "../../../../Base.php");
23 
24 use ILIAS\UI\Component as C;
27 
31 class TestingItem extends Item
32 {
33 }
34 
36 {
37  public function testConstruction(): void
38  {
39  $item = new TestingItem('1');
40  $this->assertInstanceOf(
41  Item::class,
42  $item
43  );
44  }
45 
49  public function testGetId(): void
50  {
51  $id = '1';
52  $item = new TestingItem($id);
53  $this->assertEquals($id, $item->getId());
54  }
55 }
testGetId()
testConstruction
Dummy-implementation for testing.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23