/** * Setter and getter test */ public function testSetterGetter() { $table = new Table(); $this->assertContains('dataTable_', $table->getTableId()); $table->setTableId('my_table_id'); $this->assertContains('my_table_id', $table->getTableId()); }
/** * Initialize data source * * @param Table $table Table object * * @return void */ public function initialize(Table $table) { $this->table = $table; $this->table->setTableId($this->tableId); }