public function testColumnAlias() { $i = 0; $this->assertEquals('columnName0', $this->strategy->getColumnAlias('columnName', $i++, $this->platform)); $this->assertEquals('column_name1', $this->strategy->getColumnAlias('column_name', $i++, $this->platform)); $this->assertEquals('COLUMN_NAME2', $this->strategy->getColumnAlias('COLUMN_NAME', $i++, $this->platform)); $this->assertEquals('COLUMNNAME3', $this->strategy->getColumnAlias('COLUMN-NAME-', $i++, $this->platform)); }
public function testColumnAlias() { $this->assertEquals('columnName_1', $this->strategy->getColumnAlias('columnName', 1, $this->platform)); }