ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TableTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21require_once("vendor/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:337
Basic Tests for all Tables.
Definition: TableTest.php:31
testBaseTable()
Definition: TableTest.php:32