| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 15 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 12 | public function testGetBooleanColumn()  | 
            ||
| 13 |     { | 
            ||
| 14 |         $table = new Table('boolean_column_test'); | 
            ||
| 15 |         $table->addColumn('bool', 'boolean'); | 
            ||
| 16 |         $table->addColumn('bool_commented', 'boolean', array('comment' => "That's a comment")); | 
            ||
| 17 | |||
| 18 | $this->_sm->createTable($table);  | 
            ||
| 19 | |||
| 20 |         $columns = $this->_sm->listTableColumns('boolean_column_test'); | 
            ||
| 21 | |||
| 22 |         self::assertInstanceOf('Doctrine\DBAL\Types\BooleanType', $columns['bool']->getType()); | 
            ||
| 23 |         self::assertInstanceOf('Doctrine\DBAL\Types\BooleanType', $columns['bool_commented']->getType()); | 
            ||
| 24 | |||
| 25 | self::assertNull($columns['bool']->getComment());  | 
            ||
| 26 |         self::assertSame("That's a comment", $columns['bool_commented']->getComment()); | 
            ||
| 27 | }  | 
            ||
| 34 |