public function testRenamingANonExistentColumn()
 {
     $table = new \Phinx\Db\Table('t', array(), $this->adapter);
     $table->addColumn('column1', 'string')->save();
     try {
         $this->adapter->renameColumn('t', 'column2', 'column1');
         $this->fail('Expected the adapter to throw an exception');
     } catch (\InvalidArgumentException $e) {
         $this->assertInstanceOf('InvalidArgumentException', $e, 'Expected exception of type InvalidArgumentException, got ' . get_class($e));
         $this->assertEquals('The specified column does not exist: column2', $e->getMessage());
     }
 }