ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TableTest Class Reference

Basic Tests for all Tables. More...

+ Inheritance diagram for TableTest:
+ Collaboration diagram for TableTest:

Public Member Functions

 testBaseTable ()
 

Detailed Description

Basic Tests for all Tables.

Definition at line 30 of file TableTest.php.

Member Function Documentation

◆ testBaseTable()

TableTest::testBaseTable ( )

Definition at line 32 of file TableTest.php.

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 }

The documentation for this class was generated from the following file: