public function __construct($tableName) { $this->name = $tableName; $columns = new base_database_statement_ShowCol(); $columns->setTableName($this->getName()); $this->cols = $columns->fetchDatabase(); }
/** * @test */ public function toStringTest() { $showColumnsString = new base_database_statement_ShowCol(); $showColumnsString->setTableName('test'); $this->assertEquals('SHOW COLUMNS FROM test', $showColumnsString->toString()); }