public function testGetColumns()
 {
     $table = new \Phinx\Db\Table('t', array(), $this->adapter);
     $table->addColumn('column1', 'string', array('null' => true, 'default' => null))->addColumn('column2', 'integer', array('default' => 0))->addColumn('column3', 'biginteger', array('default' => 5))->addColumn('column4', 'text', array('default' => 'text'))->addColumn('column5', 'float')->addColumn('column6', 'decimal')->addColumn('column7', 'time')->addColumn('column8', 'timestamp')->addColumn('column9', 'date')->addColumn('column10', 'boolean')->addColumn('column11', 'datetime')->addColumn('column12', 'binary')->addColumn('column13', 'string', array('limit' => 10));
     $pendingColumns = $table->getPendingColumns();
     $table->save();
     $columns = $this->adapter->getColumns('t');
     $this->assertCount(count($pendingColumns) + 1, $columns);
     for ($i = 0; $i++; $i < count($pendingColumns)) {
         $this->assertEquals($pendingColumns[$i], $columns[$i + 1]);
     }
     $this->assertNull($columns['column1']->getDefault());
     $this->assertSame(0, $columns['column2']->getDefault());
     $this->assertSame(5, $columns['column3']->getDefault());
     $this->assertSame('text', $columns['column4']->getDefault());
 }