diff --git a/test/classes/PMA_Table_test.php b/test/classes/PMA_Table_test.php index bf87b5b9cc..7eb9a1a379 100644 --- a/test/classes/PMA_Table_test.php +++ b/test/classes/PMA_Table_test.php @@ -70,6 +70,26 @@ class PMA_Table_Test extends PHPUnit_Framework_TestCase $this->assertEquals('table3', $table->getName()); } + /** + * Test Set & Get + * + * @return void + */ + public function testSetAndGet() + { + $table = new PMA_Table('table1', 'pma_test'); + $table->set("production","Phpmyadmin"); + $table->set("db","mysql"); + $this->assertEquals( + "Phpmyadmin", + $table->get("production") + ); + $this->assertEquals( + "mysql", + $table->get("db") + ); + } + /** * Test getting columns *