ILIAS  release_8 Revision v8.24
TableTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21require_once("libs/composer/vendor/autoload.php");
22require_once(__DIR__ . "/../../Base.php");
23
26
31{
32 public function testBaseTable()
33 {
34 $title = 'some title';
35 $table = new class ($title) extends I\Table\Table {
36 };
37 $this->assertEquals($title, $table->getTitle());
38
39 $title = 'some other title';
40 $table = $table->withTitle($title);
41 $this->assertEquals($title, $table->getTitle());
42 }
43}
Provides common functionality for UI tests.
Definition: Base.php:299
Basic Tests for all Tables.
Definition: TableTest.php:31
testBaseTable()
Definition: TableTest.php:32
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...