/**
  * test rename table
  */
 public function test_rename_table()
 {
     //create it
     $this->adapter->execute_ddl("CREATE TABLE `users` ( name varchar(20) );");
     $this->assertEquals(true, $this->adapter->has_table('users'));
     $this->assertEquals(false, $this->adapter->has_table('users_new'));
     //rename it
     $this->adapter->rename_table('users', 'users_new');
     $this->assertEquals(false, $this->adapter->has_table('users'));
     $this->assertEquals(true, $this->adapter->has_table('users_new'));
     //clean up
     $this->adapter->drop_table('users_new');
 }