public function testDropTable() { R::exec("create table temptable (temptable_id int(11) unsigned not null)"); DatabaseCompatibilityUtil::dropTable('temptable'); $tables = DatabaseCompatibilityUtil::getAllTableNames(); $this->assertFalse(in_array('temptable', $tables)); }