/** * @group DBAL-42 */ public function testColumnComment() { $column = new Column("bar", Type::getType('string')); $this->assertNull($column->getComment()); $column->setComment("foo"); $this->assertEquals("foo", $column->getComment()); $columnArray = $column->toArray(); $this->assertArrayHasKey('comment', $columnArray); $this->assertEquals('foo', $columnArray['comment']); }